b7d05a3afd
- replace REGRESS_FLAGS with MAKE_ENV so that the cpan module picks up additional REGRESS_DEPENDS ok simon@
34 lines
806 B
Makefile
34 lines
806 B
Makefile
# $OpenBSD: Makefile,v 1.6 2008/12/08 14:48:35 okan Exp $
|
|
|
|
COMMENT= convert Markdown / MultiMarkdown syntax to (X)HTML
|
|
|
|
DISTNAME= Text-Markdown-1.0.24
|
|
CATEGORIES= textproc www
|
|
MODULES= cpan
|
|
|
|
MAINTAINER= Okan Demirmen <okan@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
RUN_DEPENDS= ::devel/p5-File-Slurp \
|
|
::devel/p5-List-MoreUtils \
|
|
::devel/p5-Test-Exception
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
MAKE_ENV= TEST_POD=Yes \
|
|
TEST_SPELLING=Yes
|
|
REGRESS_DEPENDS=::devel/p5-Test-Spelling \
|
|
::textproc/p5-Text-Diff \
|
|
::www/p5-HTML-Tidy
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/script/Markdown.pl ${PREFIX}/bin/Markdown
|
|
${INSTALL_SCRIPT} ${WRKSRC}/script/MultiMarkdown.pl \
|
|
${PREFIX}/bin/MultiMarkdown
|
|
|
|
.include <bsd.port.mk>
|