1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/obfuscatejs/Makefile
Adam Weinberger 364cb71f9c Stage.
2014-07-04 18:08:51 +00:00

37 lines
868 B
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= obfuscatejs
PORTVERSION= 0.3.6
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/ \
http://tools.2vi.nl/
DISTNAME= consyntools
EXTRACT_SUFX= .jar
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= JavaScript code obfuscator
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
SUB_FILES= ${PORTNAME}
SUB_LIST= OBFUSCATEJSJAR=${DATADIR}/${OBFUSCATEJSJAR}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
OBFUSCATEJSJAR= ${DISTNAME}${EXTRACT_SUFX}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${OBFUSCATEJSJAR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>