2003-04-01 16:50:04 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gofish
|
|
|
|
# Date created: Apr 1, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gofish
|
2007-03-01 10:09:03 +00:00
|
|
|
PORTVERSION= 1.1
|
2003-04-01 16:50:04 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2007-03-01 10:09:03 +00:00
|
|
|
MAINTAINER= kaiw27@gmail.com
|
2003-04-01 16:50:04 +00:00
|
|
|
COMMENT= GoFish Gopher Server
|
|
|
|
|
2007-03-01 10:09:03 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-04-01 16:50:04 +00:00
|
|
|
GOPHERROOT?= ${PREFIX}/gopher
|
|
|
|
GOPHERUSER?= nobody
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-gopherroot=${GOPHERROOT} \
|
|
|
|
--with-gopheruser=${GOPHERUSER}
|
2007-03-01 10:09:03 +00:00
|
|
|
MAKE_ENV= localstatedir=/var
|
2003-04-01 16:50:04 +00:00
|
|
|
|
2007-03-01 10:09:03 +00:00
|
|
|
MAN1= gofish.1 mkcache.1
|
|
|
|
MAN5= dotcache.5 gofish.5
|
|
|
|
MLINKS= gofish.1 gopherd.1
|
2003-04-01 16:50:04 +00:00
|
|
|
|
2007-03-01 10:09:03 +00:00
|
|
|
.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>
|