2007-10-08 04:22:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/10/08 08:22:43 steven Exp $
|
2006-10-09 12:01:25 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= text-to-HTML conversion tool
|
2006-10-09 12:01:25 -04:00
|
|
|
|
2006-10-14 08:04:11 -04:00
|
|
|
DISTNAME= markdown-1.6a
|
2007-10-08 04:22:38 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-10-09 12:01:25 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.freewisdom.org/projects/python-markdown/
|
|
|
|
|
|
|
|
MAINTAINER= Will Maier <willmaier@ml1.net>
|
|
|
|
|
|
|
|
# GPL/BSD dual licensed
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-markdown/}
|
2006-10-14 08:04:11 -04:00
|
|
|
EXTRACT_SUFX= .zip
|
2006-10-09 12:01:25 -04:00
|
|
|
|
2006-10-14 08:04:11 -04:00
|
|
|
WRKDIST= ${WRKDIR}/markdown-1.6
|
2006-10-09 12:01:25 -04:00
|
|
|
|
2006-10-14 08:04:11 -04:00
|
|
|
NO_REGRESS= Yes
|
2006-10-09 12:01:25 -04:00
|
|
|
|
2006-10-14 08:04:11 -04:00
|
|
|
pre-build:
|
|
|
|
@sed -e "1s|%MODPY_BIN%|${MODPY_BIN}|" ${FILESDIR}/markdown > \
|
|
|
|
${WRKSRC}/markdown
|
2006-10-09 12:01:25 -04:00
|
|
|
|
|
|
|
post-install:
|
2006-10-14 08:04:11 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/markdown ${PREFIX}/bin/markdown
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/markdown
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mdx_*py ${PREFIX}/share/examples/markdown/
|
2006-10-09 12:01:25 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|