aboutsummaryrefslogtreecommitdiff
path: root/www/yuicompressor/Makefile
blob: cb4484af76dca6cf69d390eeeee9186e3e188ed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	yuicompressor
PORTVERSION=	2.4.8
PORTREVISION=	3
CATEGORIES=	www java
#MASTER_SITES=	http://tml.github.io/yui/
MASTER_SITES+=	LOCAL/az
EXTRACT_SUFX=	.jar
EXTRACT_ONLY=	# empty

MAINTAINER=	citrin@citrin.ru
COMMENT=	The Yahoo! JavaScript and CSS Compressor
WWW=		https://yui.github.io/yuicompressor/

LICENSE=	BSD3CLAUSE MPL20
LICENSE_COMB=	multi

NO_WRKSUBDIR=	yes

USE_JAVA=	yes
NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	bin/yuicompressor %%JAVAJARDIR%%/yuicompressor.jar
SUB_FILES=	yuicompressor

do-install:
	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/yuicompressor.jar
	${INSTALL_SCRIPT} ${WRKDIR}/yuicompressor ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>