aboutsummaryrefslogtreecommitdiffstats
path: root/www/gn
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-06-27 05:56:51 +0800
committermharo <mharo@FreeBSD.org>1999-06-27 05:56:51 +0800
commitf13a3dc3eaa41d2c4ca80ec3014ac030da7e95d3 (patch)
tree66d8f7ce8093413954dcd8ae5379e6112c7562a6 /www/gn
parentf65c21132096c74bd2d8313e4db6e22cb1b085ed (diff)
downloadfreebsd-ports-gnome-f13a3dc3eaa41d2c4ca80ec3014ac030da7e95d3.tar.gz
freebsd-ports-gnome-f13a3dc3eaa41d2c4ca80ec3014ac030da7e95d3.tar.zst
freebsd-ports-gnome-f13a3dc3eaa41d2c4ca80ec3014ac030da7e95d3.zip
/usr/local -> ${PREFIX}
PR: 12198 Submitted by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'www/gn')
-rw-r--r--www/gn/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/gn/Makefile b/www/gn/Makefile
index ef35ad6ffa17..f56e55f6bd7e 100644
--- a/www/gn/Makefile
+++ b/www/gn/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 Sep 1994
# Whom: adam
#
-# $Id: Makefile,v 1.18 1996/12/07 11:26:57 max Exp $
+# $Id: Makefile,v 1.19 1996/12/08 01:45:16 max Exp $
#
DISTNAME= gn-2.24
@@ -19,7 +19,7 @@ NO_PACKAGE= "Compiled in hostnames"
WAISDIR= ${PORTSDIR}/net/wais/work/freeWAIS-0.5
INETD_CONF= /etc/inetd.conf
-CONF= ' stream tcp nowait nobody /usr/local/libexec/gn gn'
+CONF= ' stream tcp nowait nobody ${PREFIX}/libexec/gn gn'
pre-build:
@ln -fs ${WAISDIR}/include ${WRKSRC}/waisgn/ir
@@ -45,7 +45,7 @@ post-install:
fi; \
tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \
(cd gnroot; ${WRKSRC}/bin/mkcache -r); \
- awk '$$1 ~ /#*gopher/ && $$6 == "/usr/local/libexec/gn" { exit 1 }' \
+ awk '$$1 ~ /#*gopher/ && $$6 == "${PREFIX}/libexec/gn" { exit 1 }' \
${INETD_CONF} || { \ echo '#'gopher${CONF} >>${INETD_CONF}
}