1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/www/dojo-shrinksafe/Makefile
Baptiste Daroussin 84ef73a3b9 cleanup plist
2014-12-20 19:54:05 +00:00

33 lines
885 B
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= shrinksafe
PORTVERSION= 1.9.0
CATEGORIES= www java
MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/ \
LOCAL/glarkin
PKGNAMEPREFIX= dojo-
DISTNAME= ${PKGNAMEPREFIX}release-${PORTVERSION}-${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= JavaScript code compressor
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
PLIST_FILES= bin/${PKGNAMEPREFIX}${PORTNAME} %%DATADIR%%/shrinksafe.jar \
%%DATADIR%%/js.jar
SUB_FILES= ${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.pre.mk>
do-install:
@${INSTALL} -d ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/shrinksafe.jar ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/js.jar ${STAGEDIR}${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${CAT} pkg-message
.include <bsd.port.post.mk>