aboutsummaryrefslogtreecommitdiff
path: root/net/gopher/Makefile
blob: 9a6a2f4bf6ae7053732823f23fdce2f136ed4094 (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=	Gopher client 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>