summaryrefslogtreecommitdiff
path: root/java/netrexx/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-06 04:17:13 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-06 04:17:13 +0000
commit4734a555895586e08ba30ef4931a44f37264b097 (patch)
tree7a0d3345d7a0e6dc73ff57c5bb6b0f5a8954237a /java/netrexx/Makefile
parentUse real relative directory references, i.e., add ${.CURDIR} to them :) (diff)
1) do not install both/either useless and/or duplicate files
2) replace installed NetRexxC.cmd with a home grown version 3) add lang/rexx-imc as RUN_DEPENDS due to 2) 4) also, delete both the DOS-only *.bat files and the OS/2-only nrc.cmd file (which is not really a Rexx file). 5) furthermore, delete the duplicate hello.nrx because: 1. a copy is installed with the documentation; 2. one can't compile it from the same directory java is in (unless PATH contains .). 6) switch over maintainership to submitter PR: 30217 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
Notes
Notes: svn path=/head/; revision=47464
Diffstat (limited to 'java/netrexx/Makefile')
-rw-r--r--java/netrexx/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/java/netrexx/Makefile b/java/netrexx/Makefile
index d3bd809a174f..bf32e3e6579c 100644
--- a/java/netrexx/Makefile
+++ b/java/netrexx/Makefile
@@ -7,27 +7,37 @@
PORTNAME= netrexx
PORTVERSION= 1.160
+PORTREVISION= 1
CATEGORIES= java lang
MASTER_SITES= http://www.ibm.com/technology/NetRexx/
DISTNAME= NetRexx
EXTRACT_SUFX= .tar.Z
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jmcoopr@webmail.bmi.net
-RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
+RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
+ rexx:${PORTSDIR}/lang/rexx-imc
NO_BUILD= yes
# pkg/PLIST depends on the JDK_VERSION
JDK_VERSION?= 1.1.8
PLIST_SUB+= JDK_VERSION=${JDK_VERSION}
+ERASE_FILES= NetRexxC.bat nrc.bat nrc.cmd hello.nrx
+
do-install:
-${MV} ${WRKSRC}/nrtools.tar.Z ${WRKSRC}/.foo.Z
uncompress -c ${WRKSRC}/.foo.Z | \
tar -xvf - -C ${PREFIX}/jdk${JDK_VERSION}
+.for file in ${ERASE_FILES}
+ @${RM} -f ${PREFIX}/jdk${JDK_VERSION}/bin/${file}
+.endfor
+ @${CP} ${FILESDIR}/NetRexxC.cmd.new ${PREFIX}/jdk${JDK_VERSION}/bin/NetRexxC.cmd
+ @${LN} -sf ${PREFIX}/jdk${JDK_VERSION}/bin/NetRexxC.cmd \
+ ${PREFIX}/jdk${JDK_VERSION}/bin/nrc
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/NetRexx
- ${CP} -R ${WRKSRC}/* ${PREFIX}/share/doc/NetRexx/
+ @${MKDIR} ${PREFIX}/share/doc/NetRexx
+ @${CP} -R ${WRKSRC}/* ${PREFIX}/share/doc/NetRexx/
.endif
.include <bsd.port.mk>