1996-09-23 15:50:11 +00:00
|
|
|
# New ports collection makefile for: REXX/imc
|
|
|
|
# Version required: 1.6d
|
|
|
|
# Date created: Septermber 21 96
|
|
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1996-09-23 15:50:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rexx-imc-1.6d
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1996-09-23 15:50:11 +00:00
|
|
|
MASTER_SITES= http://www.comlab.ox.ac.uk/oucl/users/ian.collier/distribution/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= jfitz@FreeBSD.org
|
1996-09-23 15:50:11 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
|
1998-11-24 18:46:10 +00:00
|
|
|
MAKE_ENV= MKDIR="${MKDIR}"
|
|
|
|
|
|
|
|
# we must patch these files until the author correct misuse of
|
|
|
|
# errno in struct fileinfo
|
|
|
|
UGLY_PATCH= rexx.c rxfn.c util.c
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for c in ${UGLY_PATCH}
|
|
|
|
@${ECHO_MSG} "Changing struct fileinfo member errno to ferrno in ${c}"
|
1999-08-28 02:42:41 +00:00
|
|
|
@${MV} ${WRKSRC}/${c} ${WRKSRC}/${c}.old
|
1998-11-24 18:46:10 +00:00
|
|
|
@${SED} 's/->errno/->ferrno/g;' ${WRKSRC}/${c}.old > ${WRKSRC}/${c}
|
|
|
|
@${RM} ${WRKSRC}/${c}.old
|
|
|
|
.endfor
|
|
|
|
|
1996-09-23 15:50:11 +00:00
|
|
|
pre-build:
|
|
|
|
@ ${CP} ${FILESDIR}/Makefile ${WRKDIR}
|
|
|
|
|
|
|
|
post-install:
|
1998-11-24 18:46:10 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
@${ECHO_MSG} "Fixing packing list for a.out"
|
|
|
|
@${MV} ${TMPPLIST} ${TMPPLIST}.new
|
|
|
|
@${GREP} -v '.so$$' ${TMPPLIST}.new > ${TMPPLIST}
|
|
|
|
@${RM} ${TMPPLIST}.new
|
|
|
|
.endif
|
|
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
1996-09-23 15:50:11 +00:00
|
|
|
|
1998-11-24 18:46:10 +00:00
|
|
|
.include <bsd.port.post.mk>
|