38 lines
881 B
Makefile
38 lines
881 B
Makefile
# $OpenBSD: Makefile,v 1.4 2007/10/08 08:22:43 steven Exp $
|
|
|
|
COMMENT= text-to-HTML conversion tool
|
|
|
|
DISTNAME= markdown-1.6a
|
|
PKGNAME= ${DISTNAME}p0
|
|
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/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
WRKDIST= ${WRKDIR}/markdown-1.6
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-build:
|
|
@sed -e "1s|%MODPY_BIN%|${MODPY_BIN}|" ${FILESDIR}/markdown > \
|
|
${WRKSRC}/markdown
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/markdown ${PREFIX}/bin/markdown
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/markdown
|
|
${INSTALL_DATA} ${WRKSRC}/mdx_*py ${PREFIX}/share/examples/markdown/
|
|
|
|
.include <bsd.port.mk>
|