freebsd-ports/net/gopher/Makefile
Steve Price b9415de6e8 Add wais support.
PR:		11728
Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-06-08 23:50:35 +00:00

39 lines
987 B
Makefile

# New ports collection makefile for: gopher
# Version required: 2.3
# Date created: 11 Dec 1994
# Whom: ats (original)
#
# $Id: Makefile,v 1.8 1998/07/05 23:17:09 steve Exp $
#
DISTNAME= gopher2_3
PKGNAME= gopher-2.3
CATEGORIES= net
MASTER_SITES= ftp://boombox.micro.umn.edu/pub/gopher/Unix/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/net/wais:build
DATADIR= $(PREFIX)/gopher-data
WaisTop= $(PORTSDIR)/net/wais/work/freeWAIS-0.5
CONFIGURE_ENV= LIBS='-lcompat -lcrypt'
CONFIGURE_ARGS= --enable-datadir=$(DATADIR) --disable-debug --enable-locale
GNU_CONFIGURE= yes
MAN1= gopher.1 gophfilt.1
MAN5= gopherd.conf.5 gopherrc.5
MAN8= gopherd.8 gopherindex.8
pre-configure:
# This ones are for FreeWAIS-0.4 and >
ln -s ${WaisTop}/include $(WaisTop)/ir
ln -s ${WaisTop}/src/client/ui $(WaisTop)
ln -s ${WaisTop}/bin $(WRKSRC)
# This is the new configuration method
ln -s ${WaisTop} $(WRKSRC)/wais
pre-install:
$(MKDIR) $(DATADIR)
.include <bsd.port.mk>