aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-08-16 00:32:34 +0800
committeritetcu <itetcu@FreeBSD.org>2006-08-16 00:32:34 +0800
commitb1c7a94dbdd72c6043a835c7472428916b0f6fd2 (patch)
treee48af8c6ac67232e06d1b7111f0c368c4df0deaa /net
parent975f44ff3fe8c0b37077f16334e2acea105bb91f (diff)
downloadfreebsd-ports-gnome-b1c7a94dbdd72c6043a835c7472428916b0f6fd2.tar.gz
freebsd-ports-gnome-b1c7a94dbdd72c6043a835c7472428916b0f6fd2.tar.zst
freebsd-ports-gnome-b1c7a94dbdd72c6043a835c7472428916b0f6fd2.zip
- small fix to fix to pkg-install script
- bump PORTREVISION PR: ports/102013 Submitted by: pirzyk (maintianer)
Diffstat (limited to 'net')
-rw-r--r--net/nph/Makefile1
-rw-r--r--net/nph/pkg-install7
2 files changed, 4 insertions, 4 deletions
diff --git a/net/nph/Makefile b/net/nph/Makefile
index 1e91a1ca2808..5fb79910913e 100644
--- a/net/nph/Makefile
+++ b/net/nph/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nph
PORTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.feep.net/pub/software/nph/
diff --git a/net/nph/pkg-install b/net/nph/pkg-install
index df19b74cb06b..38e097083e6d 100644
--- a/net/nph/pkg-install
+++ b/net/nph/pkg-install
@@ -36,11 +36,10 @@ case $2 in
fi
fi
- if [ -n "${PH_SERVER}" ]; then
- echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
- elif [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
- echo "WARNING: cannot determine PH server name - you must create ${PKG_PREFIX}/etc/ph_server manually";
+ if [ -z "${PH_SERVER}" ]; then
+ PH_SERVER="ns.some-domain.example.org";
fi
+ echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
if [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
echo "creating default ${PKG_PREFIX}/etc/ph_server file...";