~cypheon/pkgsrc-wip

pkgsrc-wip/dnrd/Makefile -rw-r--r-- 724 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD: Makefile,v 1.9 2012/09/28 21:24:37 asau Exp $

DISTNAME=	dnrd-2.20.3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=dnrd/}

MAINTAINER=	schwarz@NetBSD.org
HOMEPAGE=	http://dnrd.sourceforge.net/
COMMENT=	Dnrd is a caching forwarding DNS proxy
LICENSE=	gnu-gpl-v2

.include "options.mk"

GNU_CONFIGURE=	YES

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}

LIBS.NetBSD+=	-lrt	# for sem_*()
LIBS.SunOS+=	-lrt -lsocket -lnsl -lresolv	# for sem_*(), inet_ntoa(), inet_aton()

INSTALLATION_DIRS=	sbin share/doc/dnrd

post-install:
	${RM} -f ${DESTDIR}${PREFIX}/share/doc/dnrd/README-cygwin \
		 ${DESTDIR}${PREFIX}/share/doc/dnrd/NEWS

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"