Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2004 19:57:21 +0200 (CEST)
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65298: [MAINTAINER] java/trove4j: update to 1.1b3 and pkg-plist removal
Message-ID:  <200404071757.i37HvLxC002105@arabica.esil.univ-mrs.fr>
Resent-Message-ID: <200404071800.i37I0ZZF022375@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65298
>Category:       ports
>Synopsis:       [MAINTAINER] java/trove4j: update to 1.1b3 and pkg-plist removal
>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:   Wed Apr 07 11:00:34 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Herve Quiroz
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Fri Feb 27 11:36:17 CET 2004
>Description:

- Update to 1.1b3
- Use PLIST_FILES to remove pkg-plist entirely
- Done some cleanning
- Use MASTER_SITE_SOURCEFORGE_EXTENDED
- Moved some statements so portlint does not complain anymore
- Added 'devel' category

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- trove4j-1.1b3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/java/trove4j.original/Makefile /usr/ports/java/trove4j/Makefile
--- /usr/ports/java/trove4j.original/Makefile	Wed Apr  7 19:15:05 2004
+++ /usr/ports/java/trove4j/Makefile	Wed Apr  7 19:52:38 2004
@@ -5,48 +5,39 @@
 # $FreeBSD: ports/java/trove4j/Makefile,v 1.5 2004/04/06 06:41:31 glewis Exp $
 
 PORTNAME=	trove4j
-PORTVERSION=	1.0.2
-PORTREVISION=	1
-CATEGORIES=	java
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+PORTVERSION=	1.1b3
+CATEGORIES=	java devel
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	trove4j
 DISTNAME=	trove-${PORTVERSION}
-COMMENT=	GNU Trove: High performance collections for Java
 
 MAINTAINER=	herve.quiroz@esil.univ-mrs.fr
+COMMENT=	GNU Trove: High performance collections for Java
 
 USE_JAVA=	yes
 JAVA_VERSION=	1.3+
 JAVA_RUN=	jdk
-NO_BUILD=	YES
-
-PORT_JARFILE=		trove.jar
-JAVA_WRKLIBDIR=		${WRKSRC}/lib
-JAVA_WRKDOCSDIR=	${WRKSRC}/javadocs
-PLIST_SUB+=		JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///}
+NO_BUILD=	yes
 
 .if !defined(NOPORTDOCS)
-PORTDOCS=	AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt javadocs
+PORTDOCS=	javadocs AUTHORS ChangeLog LICENSE.txt README-license.txt README.txt
 .endif
+JARFILE=	trove.jar
+PLIST_FILES+=	${JAVAJARDIR:S,^${PREFIX}/,,}/${JARFILE}
 
 do-install:
-	@${ECHO_CMD} -n ">> Installing JAR file..."
+	@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
 	@${MKDIR} ${JAVAJARDIR}
-	@cd ${JAVA_WRKLIBDIR} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}
-	@${ECHO_CMD} " [DONE]"
+	@${INSTALL_DATA} ${WRKSRC}/lib/${JARFILE} ${JAVAJARDIR}/
+	@${ECHO_CMD} " [ DONE ]"
 .if !defined(NOPORTDOCS)
 	@${ECHO_CMD} -n ">> Installing documentation..."
-	@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/javadocs/{} ";"
-	@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/javadocs/{} ";"
-	@${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
-	@${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}/ChangeLog
-	@${INSTALL_MAN} ${WRKSRC}/LICENSE.txt ${DOCSDIR}/LICENSE.txt
-	@${INSTALL_MAN} ${WRKSRC}/README-license.txt ${DOCSDIR}/README-license.txt
-	@${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}/README.txt
-	@${ECHO_CMD} " [DONE]"
+.for DOCFILE in ${PORTDOCS}
+	@cd ${WRKSRC} && ${FIND} ${DOCFILE} -type d -exec ${MKDIR} ${DOCSDIR}/{} ";"
+	@cd ${WRKSRC} && ${FIND} ${DOCFILE} -type f -exec ${INSTALL_MAN} {} ${DOCSDIR}/{} ";"
+	@${ECHO_CMD} -n " ${DOCFILE}"
+.endfor
+	@${ECHO_CMD} " [ DONE ]"
 .endif
-
-post-install:
-	@${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}"
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/java/trove4j.original/distinfo /usr/ports/java/trove4j/distinfo
--- /usr/ports/java/trove4j.original/distinfo	Wed Apr  7 19:15:05 2004
+++ /usr/ports/java/trove4j/distinfo	Wed Apr  7 19:27:40 2004
@@ -1,2 +1,2 @@
-MD5 (trove-1.0.2.tar.gz) = a246a09db112b7986b02c2a9f771bae0
-SIZE (trove-1.0.2.tar.gz) = 796214
+MD5 (trove-1.1b3.tar.gz) = 14358eb68de9c2dfc7a132b58d2b899c
+SIZE (trove-1.1b3.tar.gz) = 805653
diff -ruN --exclude=CVS /usr/ports/java/trove4j.original/pkg-plist /usr/ports/java/trove4j/pkg-plist
--- /usr/ports/java/trove4j.original/pkg-plist	Wed Apr  7 19:15:05 2004
+++ /usr/ports/java/trove4j/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1 +0,0 @@
-%%JAVAJARDIR%%/trove.jar
--- trove4j-1.1b3.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404071757.i37HvLxC002105>