mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
9e626e8709
- Add NO_ARCH - Update WWW PR: 218123 Submitted by: Anton Yuzhaninov <citrin@citrin.ru>
32 lines
781 B
Makefile
32 lines
781 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= htmlcompressor
|
|
PORTVERSION= 1.5.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= www java
|
|
MASTER_SITES= https://github.com/serg472/htmlcompressor/releases/download/${PORTVERSION}/
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY= # empty
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= HTML/XML Compressor
|
|
|
|
LICENSE= APACHE20
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USE_JAVA= yes
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/htmlcompressor %%JAVAJARDIR%%/htmlcompressor.jar
|
|
SUB_FILES= htmlcompressor
|
|
SUB_LIST+= JAVA_VERSION=${JAVA_PORT_VERSION:R}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/htmlcompressor.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/htmlcompressor ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|