lang/fpc needed perl to complete its install, the others are renaming

of PERL to REINPLACE_CMD

Noticed on: bento
This commit is contained in:
Edwin Groothuis 2002-11-08 23:03:48 +00:00
parent 8fe52170fa
commit 197dfc3321
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69762
7 changed files with 14 additions and 7 deletions

View File

@ -26,6 +26,7 @@ RUN_DEPENDS= ${LOCALBASE}/i386-mingw32msvc/bin/as:${PORTSDIR}/devel/mingw-binuti
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}-20010828
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=i386-mingw32msvc \
--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/i386-mingw32msvc/${PORTVERSION}/include/g++
@ -38,7 +39,7 @@ MAN1= cccp.1 \
i386-mingw32msvc-gcc.1
post-patch:
${PERL} -i.orig -pe 's/install-libiberty//' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \

View File

@ -26,6 +26,7 @@ RUN_DEPENDS= ${LOCALBASE}/i386-mingw32msvc/bin/as:${PORTSDIR}/devel/mingw-binuti
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}-20010828
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=i386-mingw32msvc \
--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/i386-mingw32msvc/${PORTVERSION}/include/g++
@ -38,7 +39,7 @@ MAN1= cccp.1 \
i386-mingw32msvc-gcc.1
post-patch:
${PERL} -i.orig -pe 's/install-libiberty//' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \

View File

@ -20,10 +20,11 @@ DOCFILES= README GPL
DOCDIR= share/doc/${PORTNAME}/
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
post-patch:
@${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile
@${PERL} -pi -e "s:PI:M_PI:g" ${WRKSRC}/linplasma.c
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s:PI:M_PI:g" ${WRKSRC}/linplasma.c
pre-install:
${ECHO_CMD} "bin/linplasma" > ${PLIST}

View File

@ -30,6 +30,7 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/acroread4:${PORTSDIR}/print/acroread4
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PERL5= yes
PKGDEINSTALL= ${PKGINSTALL}
MAN1= delp.1 fpc.1 fpcmake.1 h2pas.1 plex.1 ppc386.1 ppdep.1 \

View File

@ -30,6 +30,7 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/acroread4:${PORTSDIR}/print/acroread4
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PERL5= yes
PKGDEINSTALL= ${PKGINSTALL}
MAN1= delp.1 fpc.1 fpcmake.1 h2pas.1 plex.1 ppc386.1 ppdep.1 \

View File

@ -26,6 +26,7 @@ LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
#USE_AUTOCONF_VER= 252 # not yet
AUTOCONF= ${LOCALBASE}/bin/autoconf
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
.if !defined(WITH_MYSQL)
CONFIGURE_ARGS+= --without-mysql
@ -56,8 +57,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
pre-patch:
.for f in ${FIXPREFIX}
${PERL} -pi -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \
${WRKSRC}/${f}
${REINPLACE_CMD} -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \
${WRKSRC}/${f}
.endfor
pre-configure:

View File

@ -21,9 +21,10 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
DOCDIR= share/doc/${PORTNAME}
DOCS= AUTHORS Changelog README
PLIST= ${WRKDIR}/pkg-plist
USE_REINPLACE= yes
post-patch:
${PERL} -pi -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
${REINPLACE_CMD} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g' \
${WRKSRC}/wb0.c