aboutsummaryrefslogtreecommitdiffstats
path: root/www/dojo-shrinksafe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/dojo-shrinksafe/Makefile')
-rw-r--r--www/dojo-shrinksafe/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/www/dojo-shrinksafe/Makefile b/www/dojo-shrinksafe/Makefile
new file mode 100644
index 000000000000..b103958c0481
--- /dev/null
+++ b/www/dojo-shrinksafe/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: dojo-shrinksafe
+# Date created: 2008-05-01
+# Whom: Greg Larkin <glarkin@sourcehosting.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= shrinksafe
+PORTVERSION= 1.1.0
+CATEGORIES= www java
+MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/ \
+ LOCAL/beech
+PKGNAMEPREFIX= dojo-
+DISTNAME= ${PKGNAMEPREFIX}release-${PORTVERSION}-${PORTNAME}
+
+MAINTAINER= glarkin@sourcehosting.net
+COMMENT= A Javascript code compressor
+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PKGNAMEPREFIX}${PORTNAME} %%DATADIR%%/custom_rhino.jar
+PLIST_DIRS= %%DATADIR%%
+SUB_FILES= ${PKGNAMEPREFIX}${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/custom_rhino.jar ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} ${PREFIX}/bin
+ @${CAT} pkg-message
+
+.include <bsd.port.post.mk>