ports/156095: [MAINTAINER UPDATE] java/castor to 1.3.2 & add PORTDOCS handling
Chris Rees
utisoft at gmail.com
Thu Mar 31 18:20:11 UTC 2011
>Number: 156095
>Category: ports
>Synopsis: [MAINTAINER UPDATE] java/castor to 1.3.2 & add PORTDOCS handling
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 31 18:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD zeus.bayofrum.net 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Sun Feb 27 22:19:51 UTC 2011 root at zeus.bayofrum.net:/usr/obj/usr/src/sys/ZEUS i386
>Description:
Maintenance release of Castor [1], release notes not quite yet published.
I've also added the capability to get the DOCS installed if allowed, and tidied the plist handling.
[1] http://www.castor.org/release-notes.html
>How-To-Repeat:
>Fix:
- Update to 1.3.2
- Add PORTDOCS to port
Submitted by: Chris Rees (utisoft at gmail.com) (maintainer)
--- castor-1.3.2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/java/castor/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 1 Jul 2010 21:13:01 -0000 1.14
+++ Makefile 31 Mar 2011 17:57:34 -0000
@@ -6,43 +6,42 @@
#
PORTNAME= castor
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
CATEGORIES= java devel
MASTER_SITES= http://dist.codehaus.org/castor/${PORTVERSION}/
EXTRACT_SUFX= .tgz
MAINTAINER= utisoft at gmail.com
COMMENT= Data binding for XML (JAXB) and SQL database (JDO)
+
LICENSE= ASL
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
-JARSUFXS= -anttasks.jar \
- -codegen.jar \
- -core.jar \
- -ddlgen.jar \
- -jdo.jar \
- -xml-schema.jar \
- -xml.jar \
- .jar
-
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-anttasks.jar \
- %%JAVAJARDIR%%/${PORTNAME}-codegen.jar \
- %%JAVAJARDIR%%/${PORTNAME}-core.jar \
- %%JAVAJARDIR%%/${PORTNAME}-ddlgen.jar \
- %%JAVAJARDIR%%/${PORTNAME}-jdo.jar \
- %%JAVAJARDIR%%/${PORTNAME}-xml-schema.jar \
- %%JAVAJARDIR%%/${PORTNAME}-xml.jar \
- %%JAVAJARDIR%%/${PORTNAME}.jar
+ %%JAVAJARDIR%%/${PORTNAME}-codegen.jar \
+ %%JAVAJARDIR%%/${PORTNAME}-core.jar \
+ %%JAVAJARDIR%%/${PORTNAME}-ddlgen.jar \
+ %%JAVAJARDIR%%/${PORTNAME}-xml-schema.jar \
+ %%JAVAJARDIR%%/${PORTNAME}-xml.jar \
+ %%JAVAJARDIR%%/${PORTNAME}.jar
+
+PORTDOCS= *.html *.txt *.css *.dtd *.xsd *.pdf \
+ ora-mar-2k images rss
do-install:
-.for f in ${JARSUFXS}
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}${f}..."
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}${f} \
- ${JAVAJARDIR}/${PORTNAME}${f}
+.for f in ${PLIST_FILES:T:R}
+ @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${f}.jar..."
+ @${INSTALL_DATA} \
+ ${WRKSRC}/${f:S/tor/tor-${PORTVERSION}/}.jar \
+ ${JAVAJARDIR}/${f}.jar
@${ECHO_MSG} " [ DONE ]"
.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
+.endif
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/java/castor/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo 20 Mar 2011 12:49:39 -0000 1.13
+++ distinfo 31 Mar 2011 17:57:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (castor-1.3.1.tgz) = 639ff895e0294f2111c57d2f2241d06a5fbcc774dd714fc933d36e651922f1b2
-SIZE (castor-1.3.1.tgz) = 4257528
+SHA256 (castor-1.3.2.tgz) = cd0f47ebeab36685d91981a5013fe4406d120c069332b67a3cc0fa9c9b128fa0
+SIZE (castor-1.3.2.tgz) = 3713132
--- castor-1.3.2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list