blob: 90c311b9e6ef09460d74a695736187d194031f09 (
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
|
# Created by: 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
USES= gmake
pre-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's,<malloc.h>,<stdlib.h>,'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gopher/gopher ${STAGEDIR}${PREFIX}/bin/gopher
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gopher
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopher.rc
${INSTALL_DATA} ${WRKSRC}/gopher/gopherremote.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopherremote.rc
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.hlp ${STAGEDIR}${PREFIX}/etc/gopher/gopher.hlp
${INSTALL_PROGRAM} ${WRKSRC}/gophfilt/gophfilt ${STAGEDIR}${PREFIX}/bin/gophfilt
${INSTALL_MAN} ${WRKSRC}/doc/gopher.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gophfilt.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gopherrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
.include <bsd.port.mk>
|