2013-09-20 23:36:50 +00:00
|
|
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
2009-08-05 07:52:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jspacker
|
|
|
|
DISTVERSION= 1.00b
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://nivi.interfree.it/distfiles/${PORTNAME}/ \
|
|
|
|
http://deanedwards.googlecode.com/svn/trunk/download/
|
|
|
|
DISTNAME= packer2.perl
|
|
|
|
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2012-07-29 11:17:02 +00:00
|
|
|
COMMENT= JavaScript compressor/obfuscator (Perl version)
|
2009-08-05 07:52:22 +00:00
|
|
|
|
|
|
|
JSPACKER= jsPacker.pl
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2014-03-10 18:01:09 +00:00
|
|
|
USES= perl5 zip
|
2013-09-02 16:56:12 +00:00
|
|
|
USE_PERL5= run
|
2009-08-05 07:52:22 +00:00
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
SUB_LIST= JSPACKER=${JSPACKER} \
|
|
|
|
PERL5=${PERL5}
|
|
|
|
|
2013-09-20 23:36:50 +00:00
|
|
|
NO_STAGE= yes
|
2009-08-05 07:52:22 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
${MKDIR} ${DATADIR} && \
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} *.pm ${DATADIR} && \
|
|
|
|
${INSTALL_SCRIPT} ${JSPACKER} ${DATADIR}
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${MKDIR} ${EXAMPLESDIR} && \
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} *.htm ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|