freebsd-ports/www/jspacker/Makefile
Mathieu Arnold dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00

44 lines
1 KiB
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= jspacker
DISTVERSION= 1.00b
PORTREVISION= 2
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)
BROKEN= Unfetchable (google code has gone away)
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=${PERL}
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>