diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-26 17:33:16 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-26 17:33:16 +0000 |
commit | ad99aad61d9a0e00cb3627ceb6b55c3f66fa3c34 (patch) | |
tree | 42ef6841df11ef9ead21101cd2f4c92ba02f8f76 /x11-fm | |
parent | f489092f8075a11964f863c1598e0db616648c47 (diff) | |
download | ports-ad99aad61d9a0e00cb3627ceb6b55c3f66fa3c34.tar.gz ports-ad99aad61d9a0e00cb3627ceb6b55c3f66fa3c34.zip |
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/dfm/Makefile | 3 | ||||
-rw-r--r-- | x11-fm/endeavour/Makefile | 5 | ||||
-rw-r--r-- | x11-fm/mtoolsfm/Makefile | 7 |
3 files changed, 9 insertions, 6 deletions
diff --git a/x11-fm/dfm/Makefile b/x11-fm/dfm/Makefile index 4c0c721e5d5b..5d3519daa472 100644 --- a/x11-fm/dfm/Makefile +++ b/x11-fm/dfm/Makefile @@ -14,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME} +USE_REINPLACE= yes USE_X_PREFIX= yes USE_XPM= yes USE_IMLIB= yes @@ -28,7 +29,7 @@ PORTDOCS= ANNOUNCE BUGS COPYRIGHT CREDITS ChangeLog DOWNLOAD HELP.ERROR \ NO_WARRANTY README START TESTED TODO pre-patch: - @${PERL} -pi -e \ + @${REINPLACE_CMD} -e \ 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure post-install: diff --git a/x11-fm/endeavour/Makefile b/x11-fm/endeavour/Makefile index 562cc4fb930e..a08a58688a99 100644 --- a/x11-fm/endeavour/Makefile +++ b/x11-fm/endeavour/Makefile @@ -13,6 +13,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes @@ -27,8 +28,8 @@ MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" CPP="${CXX}" \ LIB_DIRS="-L${LOCALBASE}/lib -L${X11BASE}/lib" pre-patch: - @${PERL} -pi -e 's|make |\$$\(MAKE\) |g' ${WRKSRC}/Makefile - @find ${WRKSRC}/endeavour -type f | xargs ${PERL} -pi -e \ + @${REINPLACE_CMD} -e 's|make |\$$\(MAKE\) |g' ${WRKSRC}/Makefile + @${FIND} ${WRKSRC}/endeavour -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|#include <malloc.h>||g ; \ s|#include <asm/types.h>||g ; \ s|#include <sys/bitypes.h>||g ; \ diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile index 020e1a7702df..f0b336cf9670 100644 --- a/x11-fm/mtoolsfm/Makefile +++ b/x11-fm/mtoolsfm/Makefile @@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GTK= yes GNU_CONFIGURE= yes @@ -26,11 +27,11 @@ CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf" MAN1= mtoolsfm.1 post-patch: - @${PERL} -pi -e 's|MToolsFM|mtoolsfm|g ; \ + @${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1 - @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \ 's|MToolsFM|mtoolsfm|g' .for file in src/mtoolsfm.h po/de.po po/fr.po @${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit |