aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-04-15 03:35:43 +0800
committermharo <mharo@FreeBSD.org>1999-04-15 03:35:43 +0800
commit631ebba3f56dc32cca98e5717c3f2b52ef3f6569 (patch)
treea00be2b28954ed54c83bc31d06c63b9b7e296b6c /www
parenta93292fdb4808e1eb8136326b5325b680a621e79 (diff)
downloadfreebsd-ports-graphics-631ebba3f56dc32cca98e5717c3f2b52ef3f6569.tar.gz
freebsd-ports-graphics-631ebba3f56dc32cca98e5717c3f2b52ef3f6569.tar.zst
freebsd-ports-graphics-631ebba3f56dc32cca98e5717c3f2b52ef3f6569.zip
Add a lynx.cfg.default file, only install lynx.cfg if it doesn't already
exist. Reviewed by: obrien
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