From a6b7c72ea409c597f8f26604cb3e3c2010f3d0df Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 13 Aug 2014 18:30:20 +0000 Subject: [PATCH] - Add LICENSE - Respect LOCALBASE --- textproc/p5-CSS-Compressor/Makefile | 7 +++++-- textproc/p5-CSS-Compressor/files/csscompressor | 2 +- 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 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.