File:  [cvs.NetBSD.org] / pkgsrc / net / cdpd / Makefile
Revision 1.17: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:13 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.17 2012/10/23 17:18:13 asau Exp $
#

DISTNAME=	cdpd-1.0.2
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	# ftp://ftp.lexa.ru/pub/domestic/snar/

MAINTAINER=	explorer@NetBSD.org
COMMENT=	Simple daemon to send Cisco Discovery Protocol packets
HOMEPAGE=	http://www.lexa.ru

GNU_CONFIGURE=	YES

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin

SUBST_CLASSES+=		conf
SUBST_STAGE.conf=       pre-configure
SUBST_FILES.conf=       configure
SUBST_SED.conf=         -e "s|libnet-config|libnet10-config|g"
SUBST_MESSAGE.conf=     Fixing configuration script.

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cdpd ${DESTDIR}${PREFIX}/sbin/cdpd
	${INSTALL_DATA} ${WRKSRC}/cdpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/cdpd.8

.include "../../devel/libnet10/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>