File:  [cvs.NetBSD.org] / pkgsrc / net / nidentd / Makefile
Revision 1.11: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:42 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.11 2012/10/23 17:18:42 asau Exp $
#

DISTNAME=	nidentd-1.0
PKGREVISION=	2
CATEGORIES=	net sysutils
MASTER_SITES=	ftp://ftp.tgr.lubin.edu.pl/pub/NetBSD/nidentd/
EXTRACT_SUFX=	.tgz

MAINTAINER=	symka@NetBSD.org
COMMENT=	identd that supports IPv4, IPv6, NAT, fake and random

DEPENDS+=	lsof>=4.61:../../sysutils/lsof

INSTALLATION_DIRS=	etc libexec

do-build:
		${SED} \
			-e 's,@LOCALBASE@,${LOCALBASE},' \
			<${WRKSRC}/nidentd >${WRKSRC}/nidentd.tmp
		${MV} ${WRKSRC}/nidentd.tmp ${WRKSRC}/nidentd

do-install:
	${INSTALL_DATA} ${WRKSRC}/nidentd.nat ${DESTDIR}${PREFIX}/etc/nidentd.nat.example ; \
	${INSTALL_DATA} ${WRKSRC}/nidentd.fake ${DESTDIR}${PREFIX}/etc/nidentd.fake.example ; \
	${INSTALL_SCRIPT} ${WRKSRC}/nidentd ${DESTDIR}${PREFIX}/libexec

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>