diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-03 20:30:03 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-03 20:30:03 +0000 |
commit | 1ac725f15c8bca25eb9a0024a802d8d20b1dd601 (patch) | |
tree | f335e5eba89fc4fab720a2063efcaead92f9291f /textproc/p5-CSS-Minifier-XS | |
parent | 5f34b6ed66a43a1725dd83c3e58c68b1c73dbcd3 (diff) |
- Fix minimal required perl version
- Add conditional BUILD_DEPENDS
- Sort PLIST
Notes
Notes:
svn path=/head/; revision=281115
Diffstat (limited to 'textproc/p5-CSS-Minifier-XS')
-rw-r--r-- | textproc/p5-CSS-Minifier-XS/Makefile | 10 | ||||
-rw-r--r-- | textproc/p5-CSS-Minifier-XS/pkg-plist | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/textproc/p5-CSS-Minifier-XS/Makefile b/textproc/p5-CSS-Minifier-XS/Makefile index 24052f210a94..0d58c2d339bb 100644 --- a/textproc/p5-CSS-Minifier-XS/Makefile +++ b/textproc/p5-CSS-Minifier-XS/Makefile @@ -14,8 +14,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= XS based CSS minifier -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.8+ MAN3= CSS::Minifier::XS.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501200 +BUILD_DEPENDS+= p5-Module-Build>=0.3500:${PORTSDIR}/devel/p5-Module-Build +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-CSS-Minifier-XS/pkg-plist b/textproc/p5-CSS-Minifier-XS/pkg-plist index f4faacd089ba..ad2778b7d1d9 100644 --- a/textproc/p5-CSS-Minifier-XS/pkg-plist +++ b/textproc/p5-CSS-Minifier-XS/pkg-plist @@ -1,9 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/CSS/Minifier/XS.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Minifier/XS/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Minifier/XS/XS.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Minifier/XS/XS.so -%%SITE_PERL%%/%%PERL_ARCH%%/CSS/Minifier/XS.pm -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/CSS/Minifier -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/CSS @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Minifier/XS @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS/Minifier @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CSS +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/CSS/Minifier +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/CSS |