aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-08-14 02:30:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-08-14 02:30:20 +0800
commit67da2377f073863e46ead47591706320ba06e859 (patch)
tree2339b4bcb70115b1846579d050b142d644035af3
parentb81fdab4fcd43ed85f272d92f76e6b9fe5f82dd0 (diff)
downloadfreebsd-ports-gnome-67da2377f073863e46ead47591706320ba06e859.tar.gz
freebsd-ports-gnome-67da2377f073863e46ead47591706320ba06e859.tar.zst
freebsd-ports-gnome-67da2377f073863e46ead47591706320ba06e859.zip
- Add LICENSE
- Respect LOCALBASE
-rw-r--r--textproc/p5-CSS-Compressor/Makefile7
-rw-r--r--textproc/p5-CSS-Compressor/files/csscompressor2
2 files changed, 6 insertions, 3 deletions
diff --git a/textproc/p5-CSS-Compressor/Makefile b/textproc/p5-CSS-Compressor/Makefile
index 24223aeb9fb9..b6404841d43b 100644
--- a/textproc/p5-CSS-Compressor/Makefile
+++ b/textproc/p5-CSS-Compressor/Makefile
@@ -11,10 +11,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl extension for CSS minification
-USES= perl5
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
USE_PERL5= configure
+USES= perl5
post-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/csscompressor ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/csscompressor ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/textproc/p5-CSS-Compressor/files/csscompressor b/textproc/p5-CSS-Compressor/files/csscompressor
index 9c1f604f39b7..d61a26c2fdbf 100644
--- a/textproc/p5-CSS-Compressor/files/csscompressor
+++ b/textproc/p5-CSS-Compressor/files/csscompressor
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/env perl
# Copyright (c) 2012, Gea-Suan Lin
# All rights reserved.