diff options
author | johans <johans@FreeBSD.org> | 2014-12-22 18:43:26 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2014-12-22 18:43:26 +0800 |
commit | c15d936b34314bdde70c91242a24aac3117da653 (patch) | |
tree | ccfca39135394da17ef5bae3f4ea089ce1b57b61 /www | |
parent | 0c6f01cf30599d1ca03b35e9c4dd4d2a95a5c799 (diff) | |
download | freebsd-ports-gnome-c15d936b34314bdde70c91242a24aac3117da653.tar.gz freebsd-ports-gnome-c15d936b34314bdde70c91242a24aac3117da653.tar.zst freebsd-ports-gnome-c15d936b34314bdde70c91242a24aac3117da653.zip |
Fix path in makefile.in rather than moving in post-install target
Avoid installing unneeded files in STAGEDIR
Suggested by: ohauer
Diffstat (limited to 'www')
-rw-r--r-- | www/lynx-current/Makefile | 6 | ||||
-rw-r--r-- | www/lynx-current/pkg-plist | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile index a593aac3e476..0e4db3872eb0 100644 --- a/www/lynx-current/Makefile +++ b/www/lynx-current/Makefile @@ -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> diff --git a/www/lynx-current/pkg-plist b/www/lynx-current/pkg-plist index d26b2b7e0ef8..5de157af386a 100644 --- a/www/lynx-current/pkg-plist +++ b/www/lynx-current/pkg-plist @@ -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 |