blob: 556746b81c1c77b7b3ef13efa1b975de6cf0eef4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# New ports collection makefile for: gn
# Version required: 2.17
# Date created: 20 Sep 1994
# Whom: adam
#
# $Id: Makefile,v 1.3 1994/10/06 02:56:44 jkh Exp $
#
DISTNAME= gn-2.17
MASTER_SITES= ftp://ftp.acns.nwu.edu/pub/gn/
INETD_CONF= /etc/inetd.conf
CONF= ' stream tcp nowait nobody /usr/local/etc/gn gn'
DEPENDS= ${PORTSDIR}/net/wais
pre-build:
@ln -s ../../../../wais/work/freeWAIS-0.3/ir work/${DISTNAME}/waisgn
@ln -s ../../../../wais/work/freeWAIS-0.3/bin work/${DISTNAME}/waisgn
pre-install:
@grep -q '^gopher' ${INETD_CONF} || { \
echo gopher${CONF} >>${INETD_CONF}; \
kill -HUP \
`ps ax | grep inetd | grep -v grep | awk '{ print $$1 }'`; \
}
@if [ ! -d /usr/local/gnroot ]; then \
mkdir -p /usr/local/gnroot; \
cd /usr/local/gnroot; \
tar -C ${WRKSRC} -cf - docs | tar xpf -; \
mv docs/sample.root.menu menu; \
${WRKSRC}/mkcache/mkcache -r; \
fi
.include <bsd.port.mk>
|