ports/83979: update cad/impact port to version 1.6.1
Pedro F. Giffuni
giffunip at asme.org
Sun Jul 24 04:00:31 UTC 2005
>Number: 83979
>Category: ports
>Synopsis: update cad/impact port to version 1.6.1
>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: Sun Jul 24 04:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 4.11-Release
>Organization:
>Environment:
FreeBSD Estudio 4.11-RELEASE FreeBSD 4.11-RELEASE #7: Sat Mar 26 10:55:47 COT 2005 root at Estudio:/usr/src/sys/compile/COMPAQ i386
>Description:
Version 1.6.1 has several bugfixes and a general cleanup. The port was changed slightly to better conform to the Java porting standards.
>How-To-Repeat:
Still remaining is the problem of having this port work automatically with cad/gmsh and cad/linux-gid. I still don't know well how to tackle this without invading other ports' workspace, but it would make the port much better.
>Fix:
Patch follows:
diff -ruN impact.orig/Makefile impact/Makefile
--- impact.orig/Makefile Sat Jul 23 18:45:19 2005
+++ impact/Makefile Sat Jul 23 22:34:47 2005
@@ -7,7 +7,7 @@
#
PORTNAME= impact
-PORTVERSION= 0.5.3
+PORTVERSION= 0.6.1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,20 +22,21 @@
JAVA_VERSION= 1.4+
NO_BUILD= yes
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= impact impactgui
-SUB_LIST= DIR=${PREFIX}/impact
+SUB_LIST= DIR=${DATADIR}
PLIST_FILES= bin/impact bin/impactgui
do-install:
- @${MKDIR} ${PREFIX}/impact
- ${CP} -R ${WRKSRC}/ ${PREFIX}/impact
+ @${MKDIR} ${DATADIR}
+ ${CP} -R ${WRKSRC}/ ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/impact ${WRKDIR}/impactgui ${PREFIX}/bin
post-install:
- @${FIND} ${PREFIX}/impact ! -type d | \
+ @${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/impact -type d | ${SORT} -r | \
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
diff -ruN impact.orig/distinfo impact/distinfo
--- impact.orig/distinfo Sat Jul 23 18:45:19 2005
+++ impact/distinfo Sat Jul 23 18:55:10 2005
@@ -1,2 +1,2 @@
-MD5 (Impact-0.5.3.zip) = 45fbc9e4e17daeb7ff06d0118eb11298
-SIZE (Impact-0.5.3.zip) = 5150450
+MD5 (Impact-0.6.1.zip) = c06f34619bfe878fc8aa24f5f5c19d0a
+SIZE (Impact-0.6.1.zip) = 3670738
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list