pkgsrc/net/nidentd/Makefile
2010-02-11 22:14:30 +00:00

30 lines
845 B
Makefile

# $NetBSD: Makefile,v 1.10 2010/02/11 22:19:14 joerg 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
PKG_DESTDIR_SUPPORT= user-destdir
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"