Avoid use of Perl.

This commit is contained in:
Trevor Johnson 2003-11-21 03:44:45 +00:00
parent a3da9e4473
commit d49f904f1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94601

View file

@ -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}