summaryrefslogtreecommitdiff
path: root/www/jspacker/Makefile
blob: 14957bd7a332fcf678a9a5be601942a68a30b7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

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>