svn commit: r375226 - head/www/lynx-current
Johan van Selst
johans at FreeBSD.org
Mon Dec 22 10:43:28 UTC 2014
Author: johans
Date: Mon Dec 22 10:43:26 2014
New Revision: 375226
URL: https://svnweb.freebsd.org/changeset/ports/375226
QAT: https://qat.redports.org/buildarchive/r375226/
Log:
Fix path in makefile.in rather than moving in post-install target
Avoid installing unneeded files in STAGEDIR
Suggested by: ohauer
Modified:
head/www/lynx-current/Makefile
head/www/lynx-current/pkg-plist
Modified: head/www/lynx-current/Makefile
==============================================================================
--- head/www/lynx-current/Makefile Mon Dec 22 10:22:38 2014 (r375225)
+++ head/www/lynx-current/Makefile Mon Dec 22 10:43:26 2014 (r375226)
@@ -54,8 +54,8 @@ NLS_CONFIGURE_ENABLE= nls
IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
IDN_CONFIGURE_ENABLE= idna
-post-install:
- cd ${STAGEDIR}${PREFIX}/etc/; mv lynx.cfg.default lynx.cfg.sample; \
- mv lynx.lss.default lynx.lss.sample
+post-patch:
+ ${REINPLACE_CMD} -Ee 's/lynx\.(cfg|lss)\.default/lynx.\1.sample/g' \
+ -e '/SYSCONFDIR)\/lynx\.(cfg|lss)$$/d' ${WRKSRC}/makefile.in
.include <bsd.port.mk>
Modified: head/www/lynx-current/pkg-plist
==============================================================================
--- head/www/lynx-current/pkg-plist Mon Dec 22 10:22:38 2014 (r375225)
+++ head/www/lynx-current/pkg-plist Mon Dec 22 10:43:26 2014 (r375226)
@@ -2,7 +2,6 @@ bin/lynx
man/man1/lynx.1.gz
@sample etc/lynx.cfg.sample
@sample etc/lynx.lss.sample
- at exec mkdir -p %D/share/lynx_help
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER
%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER.asc
More information about the svn-ports-all
mailing list