diff options
author | lioux <lioux@FreeBSD.org> | 2001-12-02 16:58:47 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-12-02 16:58:47 +0000 |
commit | 27e7471ddd11fbfe050cd751a50a9581cbd0ac4b (patch) | |
tree | 46e731380a462c42830fd9afe89fc961867e9aa7 /audio/khordpro | |
parent | cd038568d686ad29be590b046315497303856af6 (diff) | |
download | FreeBSD-ports-27e7471ddd11fbfe050cd751a50a9581cbd0ac4b.zip FreeBSD-ports-27e7471ddd11fbfe050cd751a50a9581cbd0ac4b.tar.gz |
o USE_AUTO* police sweep
1) Remove the autoconf depedency since it is not necessary.
2) Patch Makefile.in instead of Makefile.am
3) Use vars instead of hardcoded (PERL) locations
4) Make the ports CFLAGS safe
5) Un"echo" all commands
Approved by: maintainer
Diffstat (limited to 'audio/khordpro')
-rw-r--r-- | audio/khordpro/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/khordpro/Makefile b/audio/khordpro/Makefile index a6d67fa..d1dca17 100644 --- a/audio/khordpro/Makefile +++ b/audio/khordpro/Makefile @@ -15,13 +15,15 @@ MAINTAINER= sethk@meowfishies.com USE_GMAKE= yes GNU_CONFIGURE= yes USE_KDELIBS_VER=2 -USE_AUTOCONF= yes post-patch: - ${PERL} -pi -e "s@-lqt @-lqt2 @g" ${WRKSRC}/khordpro/Makefile.am - ${PERL} -pi -e "s@/usr/bin@${LOCALBASE}/bin@g" ${WRKSRC}/khordpro/cpm_html.cpp + @${PERL} -pi -e "s@-lqt @-lqt2 @g" ${WRKSRC}/khordpro/Makefile.in + @${PERL} -pi -e "s@/usr/bin@${LOCALBASE}/bin@g" ${WRKSRC}/khordpro/cpm_html.cpp + @${PERL} -pi -e "s@/usr/bin/perl@${PERL}@" ${WRKSRC}/cpm.pl + @${PERL} -pi -e "s@-O2@${CFLAGS}@g" ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ + ${WRKSRC}/khordpro/Makefile.in post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/cpm.pl ${PREFIX}/bin/cpm + @${INSTALL_SCRIPT} ${WRKSRC}/cpm.pl ${PREFIX}/bin/cpm .include <bsd.port.mk> |