diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-09-04 04:30:03 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-09-04 04:30:03 +0800 |
commit | bfce76e0512e026ebb3bf31792212aeaf72e8947 (patch) | |
tree | 9f6ed98aa25b95dc50a965c2d71808df60a0a2ee /textproc/p5-JavaScript-Minifier-XS | |
parent | 523e2b5a83045124ac3bcc4c62d8838de6257e9b (diff) | |
download | freebsd-ports-gnome-bfce76e0512e026ebb3bf31792212aeaf72e8947.tar.gz freebsd-ports-gnome-bfce76e0512e026ebb3bf31792212aeaf72e8947.tar.zst freebsd-ports-gnome-bfce76e0512e026ebb3bf31792212aeaf72e8947.zip |
- Fix minimal required perl version
- Add conditional BUILD_DEPENDS
- Sort PLIST
Diffstat (limited to 'textproc/p5-JavaScript-Minifier-XS')
-rw-r--r-- | textproc/p5-JavaScript-Minifier-XS/Makefile | 10 | ||||
-rw-r--r-- | textproc/p5-JavaScript-Minifier-XS/pkg-plist | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/textproc/p5-JavaScript-Minifier-XS/Makefile b/textproc/p5-JavaScript-Minifier-XS/Makefile index 9955782c6d6b..2fd9603814bd 100644 --- a/textproc/p5-JavaScript-Minifier-XS/Makefile +++ b/textproc/p5-JavaScript-Minifier-XS/Makefile @@ -14,8 +14,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= XS based JavaScript minifier -PERL_CONFIGURE= yes +PERL_CONFIGURE= 5.8.8+ MAN3= JavaScript::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-JavaScript-Minifier-XS/pkg-plist b/textproc/p5-JavaScript-Minifier-XS/pkg-plist index f260f9fcbff1..0d1074093212 100644 --- a/textproc/p5-JavaScript-Minifier-XS/pkg-plist +++ b/textproc/p5-JavaScript-Minifier-XS/pkg-plist @@ -1,9 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier/XS.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS/XS.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS/XS.so -%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier/XS.pm -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript |