diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-02 16:58:47 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-02 16:58:47 +0000 |
commit | fb8838f46b8b8d2da84db6d7180d4ce01d6b2042 (patch) | |
tree | 25018fb4b1269c081daf5dab8c14e3fb396e73ee | |
parent | Add eshell for emacs20, shell implemented in emacs lisp. (diff) |
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
Notes
Notes:
svn path=/head/; revision=50862
-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 a6d67fa48ce2..d1dca1797b61 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> |