e0ac1afbf4
- Thanks to crees@ for generating the initial patch PR: ports/163521 Submitted by: Pedro Giffuni <pfg apache.org> Hat: portmgr Exp run by: pav
37 lines
817 B
Makefile
37 lines
817 B
Makefile
# New ports collection makefile for: htmlcompressor
|
|
# Date created: 20 Nov 2010
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= htmlcompressor
|
|
PORTVERSION= 0.9.4
|
|
CATEGORIES= www java
|
|
MASTER_SITES= GOOGLE_CODE
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
COMMENT= HTML/XML Compressor
|
|
|
|
LICENSE= AL2
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/htmlcompressor %%DATADIR%%/htmlcompressor.jar
|
|
PLIST_DIRS= %%DATADIR%%
|
|
SUB_FILES= htmlcompressor
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/build/htmlcompressor-${PORTVERSION}.jar ${DATADIR}/htmlcompressor.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/htmlcompressor ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|