mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
38 lines
829 B
Makefile
38 lines
829 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yuicompressor
|
|
PORTVERSION= 2.4.8
|
|
CATEGORIES= www java
|
|
#MASTER_SITES= http://tml.github.io/yui/
|
|
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= az
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.jar
|
|
EXTRACT_SUFX= # empty
|
|
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
|
|
PLIST_DIRS= %%JAVAJARDIR%%
|
|
SUB_FILES= yuicompressor
|
|
|
|
PORTDOCS= README
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/yuicompressor.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/yuicompressor ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|