blob: 841a0f1317c89a5d8f4d9127f58f4f5e648ca8c4 (
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
34
35
36
37
38
39
40
41
|
# ex:ts=8
# Ports collection makefile for: gofish
# Date created: Apr 1, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gofish
PORTVERSION= 1.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kaiw27@gmail.com
COMMENT= GoFish Gopher Server
WRKSRC= ${WRKDIR}/${PORTNAME}
GOPHERROOT?= ${PREFIX}/gopher
GOPHERUSER?= nobody
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gopherroot=${GOPHERROOT} \
--with-gopheruser=${GOPHERUSER}
MAKE_ENV= localstatedir=/var
MAN1= gofish.1 mkcache.1
MAN5= dotcache.5 gofish.5
MLINKS= gofish.1 gopherd.1
.include <bsd.port.pre.mk>
post-install:
.for i in ${PREFIX}/etc/gofish.conf ${PREFIX}/etc/gofish-www.conf
if test -f ${i}.new; then \
${MV} ${i}.new ${i}.sample; \
else \
${CP} -p ${i} ${i}.sample; \
fi
.endfor
.include <bsd.port.post.mk>
|