1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Adam Weinberger 2014-07-04 18:08:51 +00:00
parent 681a343fc2
commit 364cb71f9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360644

View File

@ -3,7 +3,6 @@
PORTNAME= obfuscatejs
PORTVERSION= 0.3.6
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/ \
@ -13,7 +12,7 @@ EXTRACT_SUFX= .jar
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= JavaScript code obfuscator
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
@ -29,10 +28,9 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
OBFUSCATEJSJAR= ${DISTNAME}${EXTRACT_SUFX}
NO_STAGE= yes
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${OBFUSCATEJSJAR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${OBFUSCATEJSJAR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>