1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/jspacker/Makefile
2014-03-10 18:01:09 +00:00

40 lines
875 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $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
COMMENT= JavaScript compressor/obfuscator (Perl version)
JSPACKER= jsPacker.pl
NO_BUILD= yes
NO_WRKSUBDIR= yes
USES= perl5 zip
USE_PERL5= run
SUB_FILES= ${PORTNAME}
SUB_LIST= JSPACKER=${JSPACKER} \
PERL5=${PERL5}
NO_STAGE= yes
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>