aboutsummaryrefslogtreecommitdiffstats
path: root/net/gopher/Makefile
blob: 8380d3096d5241bad655eb3f6f33723dea4be4e7 (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
# New ports collection makefile for:    gopher
# Date created:     11 Dec 1994
# Whom:         ats (original)
#
# $FreeBSD$
#

PORTNAME=   gopher
PORTVERSION=    2.3
CATEGORIES= net
MASTER_SITES=   ftp://boombox.micro.umn.edu/pub/gopher/Unix/
DISTNAME=   gopher2_3

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>