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
This commit is contained in:
parent
32b78c7c52
commit
fb8838f46b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50862
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user