30 lines
611 B
Makefile

# $OpenBSD: Makefile,v 1.16 2018/08/22 19:07:48 sthen Exp $
COMMENT = fast C implementation of Markdown
DISTNAME = discount-2.2.4
CATEGORIES = textproc
HOMEPAGE = http://www.pell.portland.or.us/~orc/Code/markdown/
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c
MASTER_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 \
--cxx-binding
INSTALL_TARGET = install.everything
pre-configure:
@sed -i 's,\./markdown,\./discount,' ${WRKSRC}/tests/*.*
.include <bsd.port.mk>