freebsd-ports/www/yuicompressor/Makefile
Mathieu Arnold 88bfe4bd43 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
2015-05-11 18:34:57 +00:00

30 lines
712 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= yuicompressor
PORTVERSION= 2.4.8
PORTREVISION= 1
CATEGORIES= www java
#MASTER_SITES= http://tml.github.io/yui/
MASTER_SITES+= LOCAL/az
DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY= # empty
MAINTAINER= citrin@citrin.ru
COMMENT= The Yahoo! JavaScript and CSS Compressor
NO_WRKSUBDIR= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= 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>