diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-21 03:44:45 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-21 03:44:45 +0000 |
commit | d49f904f1b02d5f7ab83b229dbd8e4f6a578f57c (patch) | |
tree | da6200601e33b4df3545093be79597413e61e250 | |
parent | Use REINPLACE_CMD instead of Perl. (diff) |
Avoid use of Perl.
Notes
Notes:
svn path=/head/; revision=94601
-rw-r--r-- | x11-wm/jewel/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile index 20331019cbd2..768cca735d2d 100644 --- a/x11-wm/jewel/Makefile +++ b/x11-wm/jewel/Makefile @@ -20,13 +20,14 @@ DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README MAN1= jewel.1x PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes -USE_PERL5_BUILD=yes USE_GMAKE= yes post-patch: - @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ + @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig + @${SED} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \ - s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/Makefile + s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" < ${WRKSRC}/Makefile.orig \ + > ${WRKSRC}/Makefile pre-install: ${ECHO_CMD} bin/jewel > ${PLIST} |