2010-11-20 14:56:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2010/11/20 19:56:48 espie Exp $
|
2009-04-13 16:45:05 -04:00
|
|
|
|
|
|
|
COMMENT = fast C implementation of Markdown
|
|
|
|
|
2010-08-30 17:40:29 -04:00
|
|
|
DISTNAME = discount-1.6.6
|
2009-04-13 16:45:05 -04:00
|
|
|
CATEGORIES = textproc
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.pell.portland.or.us/~orc/Code/markdown/
|
|
|
|
|
|
|
|
MAINTAINER = Scott Vokes <vokes.s@gmail.com>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
WANTLIB += c
|
|
|
|
|
2010-08-30 17:40:29 -04:00
|
|
|
# Stupid github.
|
2010-09-12 12:49:08 -04:00
|
|
|
MASTER_SITES = http://distfiles.nl/
|
2010-08-30 17:40:29 -04:00
|
|
|
WRKDIST = ${WRKDIR}/Orc-discount-9dabdb8
|
2009-04-13 16:45:05 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_SCRIPT = configure.sh
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
BUILD_DEPENDS = archivers/gtar
|
2010-08-30 17:40:29 -04:00
|
|
|
TAR = ${LOCALBASE}/bin/gtar
|
|
|
|
|
2009-04-13 16:45:05 -04:00
|
|
|
INSTALL_TARGET = install.everything
|
|
|
|
REGRESS_TARGET = test
|
2010-11-20 14:56:47 -05:00
|
|
|
USE_GROFF = Yes
|
2009-04-13 16:45:05 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,\./markdown,\./discount,' ${WRKSRC}/tests/*.t
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|