diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-08-16 00:32:34 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-08-16 00:32:34 +0800 |
commit | b1c7a94dbdd72c6043a835c7472428916b0f6fd2 (patch) | |
tree | e48af8c6ac67232e06d1b7111f0c368c4df0deaa /net | |
parent | 975f44ff3fe8c0b37077f16334e2acea105bb91f (diff) | |
download | freebsd-ports-graphics-b1c7a94dbdd72c6043a835c7472428916b0f6fd2.tar.gz freebsd-ports-graphics-b1c7a94dbdd72c6043a835c7472428916b0f6fd2.tar.zst freebsd-ports-graphics-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/Makefile | 1 | ||||
-rw-r--r-- | net/nph/pkg-install | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/nph/Makefile b/net/nph/Makefile index 1e91a1ca280..5fb79910913 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 df19b74cb06..38e097083e6 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..."; |