[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / textproc / discount

File: [local] / ports / textproc / discount / Makefile (download)

Revision 1.22, Wed Sep 27 18:08:59 2023 UTC (8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.21: +1 -1 lines

MASTER_SITES -> SITES

COMMENT =		fast C implementation of Markdown

DISTNAME =		discount-2.2.7
SHARED_LIBS =		markdown 0.0
CATEGORIES =		textproc

HOMEPAGE =		http://www.pell.portland.or.us/~orc/Code/markdown/

# BSD
PERMIT_PACKAGE =	Yes

WANTLIB +=		c

SITES =			http://www.pell.portland.or.us/~orc/Code/discount/
EXTRACT_SUFX =		.tar.bz2

CONFIGURE_STYLE =	simple
CONFIGURE_SCRIPT =	configure.sh
CONFIGURE_ARGS =	--github-checkbox \
			--shared \
			--cxx-binding

INSTALL_TARGET =	install.everything

post-install:
	mv ${PREFIX}/bin/{markdown,discount}
	mv ${PREFIX}/man/man1/{markdown,discount}.1
	mv ${PREFIX}/man/man3/{markdown,discount}.3
	mv ${PREFIX}/man/man7/{markdown,discount}.7

.include <bsd.port.mk>