aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/lynx-current/Makefile6
-rw-r--r--www/lynx-current/pkg-plist1
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