ports/70143: [PATCH] textproc/xp: fix JAR name
Herve Quiroz
hq at FreeBSD.org
Sat Aug 7 21:00:47 UTC 2004
>Number: 70143
>Category: ports
>Synopsis: [PATCH] textproc/xp: fix JAR name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 07 21:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Herve Quiroz
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #5: Mon Aug 2 19:39:13 CEST
>Description:
The current port installs the JAR file with a version number which cause
problems when registering this port as a dependency for another one.
Here is a fix for this. I am quite in need of this to be commited so I may
fix/upgrade textproc/xt that depends on this port.
Bumped PORTREVISION as files have changed.
Port maintainer (mike at vee.net) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- xp-0.5_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /var/fcvs/ports/textproc/xp/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile 16 May 2004 22:41:15 -0000 1.6
+++ Makefile 7 Aug 2004 19:40:11 -0000
@@ -7,7 +7,7 @@
PORTNAME= xp
PORTVERSION= 0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc java
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
DISTNAME= ${PORTNAME}
@@ -26,13 +26,12 @@
PORTDOCS= api copying.txt index.html
.endif
JARFILE= ${PORTNAME}.jar
-DESTJARFILE= ${PKGNAME}.jar
-PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE}
+PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
do-install:
- @${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
+ @${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${MKDIR} ${JAVAJARDIR}
- @${INSTALL_DATA} ${WRKDIR}/xp.jar ${JAVAJARDIR}/${DESTJARFILE}
+ @${INSTALL_DATA} ${WRKDIR}/${JARFILE} ${JAVAJARDIR}/
@${ECHO_CMD} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
--- xp-0.5_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list