aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-05-23 02:32:31 +0800
committeraz <az@FreeBSD.org>2013-05-23 02:32:31 +0800
commit86f54d661cf88abdc9c2b759b74b9560114c776c (patch)
tree3820a33efe94a8e8979fbb9a143d19504fc15ed5 /www
parent09dea1bf966a11c0a08571de1e3c9143d3a21f68 (diff)
downloadfreebsd-ports-gnome-86f54d661cf88abdc9c2b759b74b9560114c776c.tar.gz
freebsd-ports-gnome-86f54d661cf88abdc9c2b759b74b9560114c776c.tar.zst
freebsd-ports-gnome-86f54d661cf88abdc9c2b759b74b9560114c776c.zip
- Update to 1.5.3
PR: ports/173237 Submitted by: Anton Yuzhaninov <ayuzhaninov@team.vega.ru>
Diffstat (limited to 'www')
-rw-r--r--www/htmlcompressor/Makefile19
-rw-r--r--www/htmlcompressor/distinfo4
-rw-r--r--www/htmlcompressor/files/htmlcompressor.in2
3 files changed, 13 insertions, 12 deletions
diff --git a/www/htmlcompressor/Makefile b/www/htmlcompressor/Makefile
index 8ef82445c884..1547eb7c94ed 100644
--- a/www/htmlcompressor/Makefile
+++ b/www/htmlcompressor/Makefile
@@ -2,31 +2,32 @@
# $FreeBSD$
PORTNAME= htmlcompressor
-PORTVERSION= 0.9.4
+PORTVERSION= 1.5.3
CATEGORIES= www java
MASTER_SITES= GOOGLE_CODE
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTNAME= ${PORTNAME}-${PORTVERSION}.jar
+EXTRACT_SUFX= # empty
+EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML/XML Compressor
LICENSE= AL2
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_ZIP= yes
+NO_WRKSUBDIR= yes
USE_JAVA= yes
-JAVA_VERSION= 1.6+
+JAVA_VERSION= 1.5+
NO_BUILD= yes
-PLIST_FILES= bin/htmlcompressor %%DATADIR%%/htmlcompressor.jar
-PLIST_DIRS= %%DATADIR%%
+PLIST_FILES= bin/htmlcompressor %%JAVAJARDIR%%/htmlcompressor.jar
+PLIST_DIRSTRY= %%JAVAJARDIR%%
SUB_FILES= htmlcompressor
.include <bsd.port.pre.mk>
do-install:
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/build/htmlcompressor-${PORTVERSION}.jar ${DATADIR}/htmlcompressor.jar
+ @${MKDIR} ${JAVAJARDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/htmlcompressor.jar
${INSTALL_SCRIPT} ${WRKDIR}/htmlcompressor ${PREFIX}/bin
.include <bsd.port.post.mk>
diff --git a/www/htmlcompressor/distinfo b/www/htmlcompressor/distinfo
index 08677da6042a..7a0ffb76f77c 100644
--- a/www/htmlcompressor/distinfo
+++ b/www/htmlcompressor/distinfo
@@ -1,2 +1,2 @@
-SHA256 (htmlcompressor-0.9.4-src.zip) = 3d2fc9b5fe83734597de9a2deac57ed46809b70df7a08a01fdfb678e1c3148b3
-SIZE (htmlcompressor-0.9.4-src.zip) = 1399946
+SHA256 (htmlcompressor-1.5.3.jar) = 88894e330cdb0e418e805136d424f4c262236b1aa3683e51037cdb66310cb0f9
+SIZE (htmlcompressor-1.5.3.jar) = 68685
diff --git a/www/htmlcompressor/files/htmlcompressor.in b/www/htmlcompressor/files/htmlcompressor.in
index a856d58be234..fd2e5eda0a3b 100644
--- a/www/htmlcompressor/files/htmlcompressor.in
+++ b/www/htmlcompressor/files/htmlcompressor.in
@@ -1,3 +1,3 @@
#!/bin/sh
# $FreeBSD$
-JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/htmlcompressor.jar $@
+JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%JAVAJARDIR%%/htmlcompressor.jar $@