diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
commit | 17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch) | |
tree | e856fa025c5b15bbef21f621e347c51780662a47 /textproc/markdown | |
parent | b4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff) |
Notes
Diffstat (limited to 'textproc/markdown')
-rw-r--r-- | textproc/markdown/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/markdown/Makefile b/textproc/markdown/Makefile index e7cbdc601f57..06fbb26ab52e 100644 --- a/textproc/markdown/Makefile +++ b/textproc/markdown/Makefile @@ -7,6 +7,7 @@ PORTNAME= markdown PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= http://daringfireball.net/projects/downloads/ DISTNAME= Markdown_${PORTVERSION} @@ -14,9 +15,6 @@ DISTNAME= Markdown_${PORTVERSION} MAINTAINER= tobez@FreeBSD.org COMMENT= A text-to-HTML conversion tool for web writers -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 -RUN_DEPENDS= ${BUILD_DEPENDS} - USE_ZIP= yes USE_PERL5= yes NO_BUILD= yes @@ -38,4 +36,11 @@ do-install: ${INSTALL_DATA} "${WRKSRC}/Markdown Readme.text" ${DOCSDIR}/Markdown-Readme.text .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.include <bsd.port.post.mk> |