Bug 178809 - [PATCH] www/yuicompressor: update to 2.4.8
Summary: [PATCH] www/yuicompressor: update to 2.4.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrej Zverev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 14:40 UTC by Anton Yuzhaninov
Modified: 2013-05-23 05:11 UTC (History)
0 users

See Also:


Attachments
yuicompressor-2.4.8.patch (2.36 KB, patch)
2013-05-21 14:40 UTC, Anton Yuzhaninov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Yuzhaninov 2013-05-21 14:40:00 UTC
Update to 2.4.8. Relese announce:
http://www.yuiblog.com/blog/2013/05/16/yuicompressor-2-4-8-released/
Comment 1 Andrej Zverev freebsd_committer freebsd_triage 2013-05-22 04:35:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->az

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-05-22 19:31:18 UTC
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@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@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 $@
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Andrej Zverev freebsd_committer freebsd_triage 2013-05-23 05:11:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!