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

PORTNAME=   gopher
PORTVERSION=    3.0.6
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://gopher.quux.org:70/give-me-gopher/ \
        http://dl.droso.net/FreeBSD/distfiles/
DISTFILES=  ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
WRKSRC=     ${WRKDIR}/${PORTNAME}

MAINTAINER= erwin@FreeBSD.org
COMMENT=    Client and server for access to a distributed document service

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes

MAN1=   gopher.1 gophfilt.1
MAN5=   gopherrc.5

pre-patch:
    @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
        's,<malloc.h>,<stdlib.h>,'

.include <bsd.port.mk>