diff options
author | hq <hq@FreeBSD.org> | 2005-08-30 01:59:53 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-08-30 01:59:53 +0800 |
commit | 3509f92a5658773f703ca7ed2c76444472d37abf (patch) | |
tree | e80643e254772d35ba890ea6c6b02f14a8e5bdc2 /cad/impact/Makefile | |
parent | d4927c4244dc43c1e9dd3462f3f79f6aa91598fd (diff) | |
download | freebsd-ports-gnome-3509f92a5658773f703ca7ed2c76444472d37abf.tar.gz freebsd-ports-gnome-3509f92a5658773f703ca7ed2c76444472d37abf.tar.zst freebsd-ports-gnome-3509f92a5658773f703ca7ed2c76444472d37abf.zip |
- Update to 1.6.1 [1]
- Use DATADIR=${JAVASHAREDIR}/${PORTNAME} [1]
- Add 'java' category
- Use INSTALL_DATA rather than CP
- Use %%DATADIR%% in launcher scripts (already included in SUB_LIST by
bsd.port.mk)
- Pass JAVA_VERSION to javavmwrapper in launcher scripts
PR: 83979 [1]
Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1]
Diffstat (limited to 'cad/impact/Makefile')
-rw-r--r-- | cad/impact/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cad/impact/Makefile b/cad/impact/Makefile index 2cccfd95b64e..ef459fe491de 100644 --- a/cad/impact/Makefile +++ b/cad/impact/Makefile @@ -7,8 +7,8 @@ # PORTNAME= impact -PORTVERSION= 0.5.3 -CATEGORIES= cad +PORTVERSION= 0.6.1 +CATEGORIES= cad java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= Impact-${PORTVERSION} @@ -22,20 +22,20 @@ USE_JAVA= yes JAVA_VERSION= 1.4+ NO_BUILD= yes +DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= impact impactgui -SUB_LIST= DIR=${PREFIX}/impact PLIST_FILES= bin/impact bin/impactgui do-install: - @${MKDIR} ${PREFIX}/impact - ${CP} -R ${WRKSRC}/ ${PREFIX}/impact + cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; + cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${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}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.mk> |