summaryrefslogtreecommitdiff
path: root/net/Geomyidae/Makefile
blob: 8d2e86c92521690d4f968be09578571c7a51ad4b (plain)
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
# $NetBSD: Makefile,v 1.6 2015/04/19 19:21:15 wiz Exp $
#

DISTNAME=	geomyidae-0.26.3
CATEGORIES=	net
MASTER_SITES=	http://r-36.net/src/geomyidae/

MAINTAINER=	jgw@sdf.org
HOMEPAGE=	http://r-36.net/src/geomyidae/
COMMENT=	Gopher daemon for Linux/BSD
LICENSE=	mit AND x11

NO_CONFIGURE=	yes

EGDIR=		${PREFIX}/share/examples/geomyidae
DOCDIR=		${PREFIX}/share/doc/geomyidae

INSTALLATION_DIRS=	sbin ${PKGMANDIR}/man8 ${EGDIR} ${EGDIR}/rc.d ${DOCDIR}

LDFLAGS.SunOS+=	-lsocket -lnsl

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/geomyidae ${DESTDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/geomyidae.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/CGI ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/index.gph ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/rc.d/* ${DESTDIR}${EGDIR}/rc.d

# url2pkg-marker (please do not remove this line.)
.include "../../mk/bsd.pkg.mk"