mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
5b2af2ee0e
It looks like IBM released an updated version of the NetRexx 2.05 zip file on Jan 14 2005, which includes modifications to the documentation, NetRexx[RC].jar files and the pinger and tablet zip (sample?) files. I could not find a CHANGELOG file nor the mailing list archives that would have provided info into the exact changes made without a version or revision number bump. PR: ports/80716 Submitted by: Linh Pham <question+fbsdports (at) closedsrc.org>
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# New ports collection makefile for: NetRexx
|
|
# Date created: Feb 8, 1999
|
|
# Whom: Pedro Giffuni
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= NetRexx
|
|
PORTVERSION= 2.05
|
|
PORTREVISION= 1
|
|
CATEGORIES= java lang
|
|
MASTER_SITES= http://www-306.ibm.com/software/awdtools/netrexx/
|
|
DISTNAME= NetRexx
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Human-oriented programming language for writing/using Java classes
|
|
|
|
NO_BUILD= yes
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
USE_REINPLACE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-patch:
|
|
for file in ${WRKSRC}/bin/NetRexxC.sh ${WRKSRC}/read.me.first; do \
|
|
${TR} -d '\015' < $${file} > $${file}.new; \
|
|
${MV} $${file}.new $${file}; \
|
|
done
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,%%JAVA_HOME%%,${JAVA_HOME},' \
|
|
-e 's,%%JAVAJARDIR%%,${JAVAJARDIR},' \
|
|
${WRKSRC}/bin/NetRexxC.sh
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/NetRexxC.sh ${PREFIX}/bin
|
|
@${LN} -sf ${PREFIX}/bin/NetRexxC.sh ${PREFIX}/bin/nrc
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/NetRexxC.jar ${JAVAJARDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/runlib/NetRexxR.jar ${JAVAJARDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/bin/hello.nrx \
|
|
${EXAMPLESDIR}
|
|
@cd ${WRKSRC}/browse && \
|
|
${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
@cd ${WRKSRC}/browse && \
|
|
${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO} "==================== IBM LICENSE ===================="
|
|
@${CAT} ${WRKSRC}/browse/license.txt
|
|
@${ECHO} "-------------------------------------------------------"
|
|
@${ECHO} "==================== IMPORTANT!! ===================="
|
|
@${CAT} ${WRKSRC}/read.me.first
|
|
|
|
.include <bsd.port.post.mk>
|