mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
de68ffab47
PR: ports/100151 Submitted by: Nicola Vitale <nivit email.it> (maintainer)
40 lines
905 B
Makefile
40 lines
905 B
Makefile
# New ports collection makefile for: obfuscatejs
|
|
# Date created: 2006-04-21
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= obfuscatejs
|
|
PORTVERSION= 0.3.2
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://tools.2vi.nl/ \
|
|
http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/
|
|
DISTNAME= consyntools
|
|
EXTRACT_SUFX= .jar
|
|
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= nivit@email.it
|
|
COMMENT= A JavaScript code obfuscator
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
SUB_LIST= OBFUSCATEJSJAR=${DATADIR}/${OBFUSCATEJSJAR}
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
OBFUSCATEJSJAR= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${OBFUSCATEJSJAR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|