1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/jspacker/Makefile
Dmitry Marakasov 5514152b7a - Drop @dirrm* from plist
- Fix shebangs
- Add NO_ARCH

Approved by:	portmgr blanket
2015-07-13 14:24:21 +00:00

43 lines
1003 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= jspacker
DISTVERSION= 1.00b
PORTREVISION= 1
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_ARCH= yes
NO_WRKSUBDIR= yes
USES= perl5 shebangfix zip
USE_PERL5= run
SHEBANG_FILES= jsPacker.pl
perl_OLD_CMD= perl
SUB_FILES= ${PORTNAME}
SUB_LIST= JSPACKER=${JSPACKER} \
PERL5=${PERL5}
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR} && \
cd ${WRKSRC} && \
${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
cd ${WRKSRC} && \
${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>