1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to 1.5.3

PR:		ports/173237
Submitted by:	Anton Yuzhaninov <ayuzhaninov@team.vega.ru>
This commit is contained in:
Andrej Zverev 2013-05-22 18:32:31 +00:00
parent cd5ea0494f
commit 4d0e7ff8b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318787
3 changed files with 13 additions and 12 deletions

View File

@ -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>

View File

@ -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

View File

@ -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 $@