svn commit: r318786 - in head/www/yuicompressor: . files
Andrej Zverev
az at FreeBSD.org
Wed May 22 18:31:11 UTC 2013
Author: az
Date: Wed May 22 18:31:09 2013
New Revision: 318786
URL: http://svnweb.freebsd.org/changeset/ports/318786
Log:
- Update to 2.4.8
Changes: http://www.yuiblog.com/blog/2013/05/16/yuicompressor-2-4-8-released/
PR: ports/178809
Submitted by: Anton Yuzhaninov <ayuzhaninov at openstat.ru>
Modified:
head/www/yuicompressor/Makefile (contents, props changed)
head/www/yuicompressor/distinfo (contents, props changed)
head/www/yuicompressor/files/yuicompressor.in (contents, props changed)
Modified: head/www/yuicompressor/Makefile
==============================================================================
--- head/www/yuicompressor/Makefile Wed May 22 18:30:11 2013 (r318785)
+++ head/www/yuicompressor/Makefile Wed May 22 18:31:09 2013 (r318786)
@@ -2,20 +2,24 @@
# $FreeBSD$
PORTNAME= yuicompressor
-PORTVERSION= 2.4.7
+PORTVERSION= 2.4.8
CATEGORIES= www java
-MASTER_SITES= http://yui.zenfs.com/releases/yuicompressor/
+MASTER_SITES= http://tml.github.io/yui/
+DISTNAME= ${PORTNAME}-${PORTVERSION}.jar
+EXTRACT_SUFX= # empty
+EXTRACT_ONLY= # empty
MAINTAINER= ports at FreeBSD.org
COMMENT= The Yahoo! JavaScript and CSS Compressor
-USE_ZIP= yes
+NO_WRKSUBDIR= yes
+
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
-PLIST_FILES= bin/yuicompressor %%DATADIR%%/yuicompressor.jar
-PLIST_DIRS= %%DATADIR%%
+PLIST_FILES= bin/yuicompressor %%JAVAJARDIR%%/yuicompressor.jar
+PLIST_DIRS= %%JAVAJARDIR%%
SUB_FILES= yuicompressor
PORTDOCS= README
@@ -23,14 +27,8 @@ PORTDOCS= README
.include <bsd.port.pre.mk>
do-install:
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/build/yuicompressor-${PORTVERSION}.jar ${DATADIR}/yuicompressor.jar
+ @${MKDIR} ${JAVAJARDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/yuicompressor.jar
${INSTALL_SCRIPT} ${WRKDIR}/yuicompressor ${PREFIX}/bin
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}
-.endif
-
.include <bsd.port.post.mk>
Modified: head/www/yuicompressor/distinfo
==============================================================================
--- head/www/yuicompressor/distinfo Wed May 22 18:30:11 2013 (r318785)
+++ head/www/yuicompressor/distinfo Wed May 22 18:31:09 2013 (r318786)
@@ -1,2 +1,2 @@
-SHA256 (yuicompressor-2.4.7.zip) = fb289b12733934a79032c86d674301a144b25e3e86d26f060b44c8636cdb89ae
-SIZE (yuicompressor-2.4.7.zip) = 2000350
+SHA256 (yuicompressor-2.4.8.jar) = 852cea60054a4b5c58fee4bc1e8c48551e6ff6bb45803ce86400bcf607d304ed
+SIZE (yuicompressor-2.4.8.jar) = 786897
Modified: head/www/yuicompressor/files/yuicompressor.in
==============================================================================
--- head/www/yuicompressor/files/yuicompressor.in Wed May 22 18:30:11 2013 (r318785)
+++ head/www/yuicompressor/files/yuicompressor.in Wed May 22 18:31:09 2013 (r318786)
@@ -1,2 +1,2 @@
#!/bin/sh
-JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/yuicompressor.jar $@
+JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%JAVAJARDIR%%/yuicompressor.jar $@
More information about the svn-ports-head
mailing list