Date: Mon, 22 Dec 2014 10:43:27 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375226 - head/www/lynx-current Message-ID: <201412221043.sBMAhRxn061959@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 -@exec mkdir -p %D/share/lynx_help %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/COPYHEADER %%PORTDOCS%%%%DOCSDIR%%/COPYHEADER.asc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412221043.sBMAhRxn061959>