diff options
author | Lars Thegler <lth@FreeBSD.org> | 2005-04-02 10:41:56 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2005-04-02 10:41:56 +0000 |
commit | 5013c5fafeed7135ea1f3098dac369a2d9e8a0fa (patch) | |
tree | 89b607957a86d1ff7ffdfd744eaefa58aa78ca77 /textproc/p5-CSS-Tiny/Makefile | |
parent | 153142767d5f248dc9a279e286994dfa076540ff (diff) | |
download | ports-5013c5fafeed7135ea1f3098dac369a2d9e8a0fa.tar.gz ports-5013c5fafeed7135ea1f3098dac369a2d9e8a0fa.zip |
Update to 1.08
PR: ports/79176
Submitted by: lth
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=132172
Diffstat (limited to 'textproc/p5-CSS-Tiny/Makefile')
-rw-r--r-- | textproc/p5-CSS-Tiny/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/textproc/p5-CSS-Tiny/Makefile b/textproc/p5-CSS-Tiny/Makefile index e5e609e0b0b8..8a2733aca4fa 100644 --- a/textproc/p5-CSS-Tiny/Makefile +++ b/textproc/p5-CSS-Tiny/Makefile @@ -6,8 +6,7 @@ # PORTNAME= CSS-Tiny -PORTVERSION= 1.05 -PORTREVISION= 1 +PORTVERSION= 1.08 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= CSS @@ -19,4 +18,20 @@ COMMENT= Read/Write .css files with as little code as possible PERL_CONFIGURE= yes MAN3= CSS::Tiny.3 -.include <bsd.port.mk> +post-patch: + @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm + @${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST + @${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} <= 500503 +EXTRA_PATCHES= ${PATCHDIR}/500503-lib::CSS::Tiny.pm +.endif + +.if ${PERL_LEVEL} < 500601 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.include <bsd.port.post.mk> |