aboutsummaryrefslogtreecommitdiff
path: root/www/htmlcompressor
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-05-11 18:34:57 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-05-11 18:34:57 +0000
commit88bfe4bd43787219ab4de75bd68c490c98776dfc (patch)
tree634e1ef4990207301493f26b46d80abe56b9f2b3 /www/htmlcompressor
parent9e8bfe9c71187ea60ac9f3a55c0c7bde80d76033 (diff)
downloadports-88bfe4bd43787219ab4de75bd68c490c98776dfc.tar.gz
ports-88bfe4bd43787219ab4de75bd68c490c98776dfc.zip
Cleanup DIST* variables.
When appropriate: - Try to use DISTVERSION{SUF,PRE}FIX - Replace PORTNAME-PORTVERSION by DISTNAME - Convert MASTER_SITES to use macros - Other light cleanup With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=386097
Diffstat (limited to 'www/htmlcompressor')
-rw-r--r--www/htmlcompressor/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/htmlcompressor/Makefile b/www/htmlcompressor/Makefile
index 73c15734382f..3f63badb9034 100644
--- a/www/htmlcompressor/Makefile
+++ b/www/htmlcompressor/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.5.3
PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= GOOGLE_CODE
-DISTNAME= ${PORTNAME}-${PORTVERSION}.jar
-EXTRACT_SUFX= # empty
+EXTRACT_SUFX= .jar
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
@@ -25,7 +24,7 @@ SUB_LIST+= JAVA_VERSION=${JAVA_PORT_VERSION:R}
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
- ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/htmlcompressor.jar
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/htmlcompressor.jar
${INSTALL_SCRIPT} ${WRKDIR}/htmlcompressor ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>