ports/150402: [patch] devel/flexdock update to 0.5.2

Rob Farmer rfarmer at predatorlabs.net
Thu Sep 9 05:50:01 UTC 2010


>Number:         150402
>Category:       ports
>Synopsis:       [patch] devel/flexdock update to 0.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 09 05:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD amethyst.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r212171M: Fri Sep  3 01:52:23 PDT 2010 rfarmer at amethyst.predatorlabs.net:/usr/obj/usr/src/sys/AMETHYST  i386
>Description:
Update to 0.5.2
Stop putting version in filenames
Remove unnecessary override of do-extract target
Use ALL_TARGET instead of MAKE_ARGS
Use COPYTREE_SHARE for documentation
Kill pkg-plist with only one entry

Note to committer: please fix dependencies in math/scilab to just flexdock.jar instead of flexdock-0.5.1.jar too.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/flexdock/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	19 Dec 2009 14:29:53 -0000	1.2
+++ Makefile	3 Sep 2010 00:43:02 -0000
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	flexdock
-PORTVERSION=	0.5.1
+PORTVERSION=	0.5.2
 CATEGORIES=	devel java
-MASTER_SITES=	https://flexdock.dev.java.net/files/documents/2037/52480/
+MASTER_SITES=	https://flexdock.dev.java.net/files/documents/2037/152436/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	otacilio.neto at bsd.com.br
@@ -18,8 +18,11 @@
 USE_ANT=	yes
 USE_JAVA=	yes
 
-MAKE_ARGS=	dist
+NO_WRKSUBDIR=	yes
 
+ALL_TARGET=	dist
+
+PLIST_FILES=	${JAVAJARDIR:C^${PREFIX}/^^}/${PORTNAME}.jar
 PORTDOCS=	"User Guide.pdf" api
 
 .include <bsd.port.pre.mk>
@@ -28,19 +31,14 @@
 BROKEN=		does not install on 6.x
 .endif
 
-do-extract:
-	@${MKDIR} ${WRKDIR}
-	@${UNZIP_CMD} ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
-
 do-install:
-	${INSTALL_DATA}	${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}
+	${INSTALL_DATA}	${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
 
 post-install:
 .if !defined(NOPORTDOCS)
 	@${ECHO_MSG} -n ">> Installing documentation files..."
 	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC}/build/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \;
-	@cd ${WRKSRC}/build/docs && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
+	@(cd ${WRKSRC}/build/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
 	@${ECHO_MSG} " [ DONE ]"
 .endif
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/flexdock/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	28 Nov 2009 13:52:54 -0000	1.1
+++ distinfo	2 Sep 2010 23:52:29 -0000
@@ -1,3 +1,3 @@
-MD5 (flexdock-0.5.1-src.zip) = 88fd43d7d8db92e9480200c316e55056
-SHA256 (flexdock-0.5.1-src.zip) = 2ffc4b2bf3fd2b070aff3ec46b6a3d3dbbe4f2e666b12ee266cbc162e27f890b
-SIZE (flexdock-0.5.1-src.zip) = 6229423
+MD5 (flexdock-0.5.2-src.zip) = 0ce3d2c4ce6d41e3732d8bc6af9e15da
+SHA256 (flexdock-0.5.2-src.zip) = d8a3d41aa70d76984ce96a341c771c990821b7542401891f9002c6c8a7e1e321
+SIZE (flexdock-0.5.2-src.zip) = 6228879
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	28 Nov 2009 13:52:54 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
-%%JAVAJARDIR%%/flexdock-0.5.1.jar


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list