1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix build on 9-stable

- Update MASTER_SITES an WWW: line
- Support PORTEXAMPLES

PR:		180513
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-07-15 14:47:53 +00:00
parent cfbe36e197
commit f55985d860
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323042
4 changed files with 27 additions and 28 deletions

View File

@ -5,11 +5,13 @@ PORTNAME= rexx-imc
PORTVERSION= 1.76
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://users.comlab.ox.ac.uk/ian.collier/distribution/ \
MASTER_SITES= http://www.cs.ox.ac.uk/people/ian.collier/distribution/ \
ftp://ftp.sai.msu.su/pub/unix/rexx/
MAINTAINER= ports@FreeBSD.org
COMMENT= A procedural programming language designed by IBM's UK Laboratories
COMMENT= Procedural programming language designed by IBM's UK Laboratories
OPTIONS_DEFINE= DOCS EXAMPLES
CONFLICTS= rexx-regina-* oorexx-[0-9]*
@ -29,11 +31,7 @@ DOCFILES= rexx.info rexx.ref rexx.summary rexx.tech
RMEFILES= README README.Y2K README.bugreport README.docs \
README.files README.make README.news README.platforms
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
BROKEN= does not build
.endif
.include <bsd.port.options.mk>
post-patch:
# CFLAGS safeness for ARCHs other than i386
@ -44,30 +42,31 @@ post-patch:
do-install:
# install interpreter and daemon helpers
.for prog in rexx rxque rxstack
@${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${prog} ${PREFIX}/bin)
.endfor
# install shared libraries, include file, and rxlib
(cd ${WRKSRC} && ${INSTALL_DATA} rexxsaa.h ${PREFIX}/include)
# DO NOT delete rxlib or you will lose ability to call mathlib!!
.for lib in librexx.so.2 rxmathfn.rxfn
@${INSTALL_PROGRAM} ${WRKSRC}/${lib} ${PREFIX}/lib
.for lib in librexx.so.2 rxmathfn.rxfn rxmathfn.rxlib
(cd ${WRKSRC} && ${INSTALL_DATA} ${lib} ${PREFIX}/lib)
.endfor
@${LN} -sf ${PREFIX}/lib/librexx.so.2 ${PREFIX}/lib/librexx.so
@${INSTALL_DATA} ${WRKSRC}/rexxsaa.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/rxmathfn.rxlib ${PREFIX}/lib
@${LN} -sf librexx.so.2 ${PREFIX}/lib/librexx.so
# install man pages
.for man in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${man} ${PREFIX}/man/man1
(cd ${WRKSRC} && ${INSTALL_MAN} ${man} ${MANPREFIX}/man/man1)
.endfor
# install documenation and examples
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCFILES} ${RMEFILES}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.for doc in ${DOCFILES} ${RMEFILES}
(cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${DOCSDIR})
.endfor
@${MKDIR} ${PREFIX}/share/examples/rexx-imc
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
.for ex in box rexxcps.rexx rexxtest.rexx rxmathfn.rexx shell.rexx
@${INSTALL_SCRIPT} ${WRKSRC}/${ex} ${PREFIX}/share/examples/rexx-imc
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${ex} ${EXAMPLESDIR})
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -61,7 +61,7 @@
+ ;;
+ esac
+ ;;
+ FreeBSD:5.*|FreeBSD:6.*|FreeBSD:7.*|FreeBSD:8.*)
+ FreeBSD:[5-9].*|FreeBSD:[1-9][0-9].*)
+ REXXLIB="librexx.so"
+ SOLINK="librexx.so"
+ RANLIB=ranlib

View File

@ -4,4 +4,4 @@ and has a partial implementation of the SAA API allowing applications
to call Rexx programs and to register addressing environments, Rexx
functions, and exit handlers.
WWW: http://users.comlab.ox.ac.uk/ian.collier/Rexx/rexximc.html
WWW: http://www.cs.ox.ac.uk/people/ian.collier/Rexx/rexximc.html

View File

@ -18,10 +18,10 @@ lib/rxmathfn.rxlib
%%PORTDOCS%%%%DOCSDIR%%/rexx.ref
%%PORTDOCS%%%%DOCSDIR%%/rexx.summary
%%PORTDOCS%%%%DOCSDIR%%/rexx.tech
%%PORTDOCS%%share/examples/rexx-imc/box
%%PORTDOCS%%share/examples/rexx-imc/rexxcps.rexx
%%PORTDOCS%%share/examples/rexx-imc/rexxtest.rexx
%%PORTDOCS%%share/examples/rexx-imc/rxmathfn.rexx
%%PORTDOCS%%share/examples/rexx-imc/shell.rexx
%%PORTDOCS%%@dirrm share/examples/rexx-imc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/box
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rexxcps.rexx
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rexxtest.rexx
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rxmathfn.rexx
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shell.rexx
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%