aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/lynx/Makefile3
-rw-r--r--www/lynx/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 953c4c00bad..5a347190d7c 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 Dec 1994
# Whom: ache
#
-# $Id: Makefile,v 1.80 1998/10/31 15:36:18 jseger Exp $
+# $Id: Makefile,v 1.81 1998/11/06 02:41:06 jseger Exp $
#
DISTNAME= lynx2.8.1rel.1
@@ -25,5 +25,6 @@ WRKSRC= ${WRKDIR}/lynx2-8-1
post-install:
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help
chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg
+ ${INSTALL_DATA} ${WRKSRC}/lynx.cfg ${PREFIX}/etc/lynx.cfg.default
.include <bsd.port.mk>
diff --git a/www/lynx/pkg-plist b/www/lynx/pkg-plist
index 4d9c5e04fb6..caa47443f78 100644
--- a/www/lynx/pkg-plist
+++ b/www/lynx/pkg-plist
@@ -1,4 +1,6 @@
bin/lynx
+etc/lynx.cfg.default
+@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi
lib/lynx_help/Lynx_users_guide.html
lib/lynx_help/about_lynx.html
lib/lynx_help/keystrokes/bookmark_help.html