From 3cf6f8c3f16102242b554ea486979897f14a7d60 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 7 Apr 2008 18:19:22 +0000 Subject: DESTDIR support. --- net/udpcast/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'net/udpcast') diff --git a/net/udpcast/Makefile b/net/udpcast/Makefile index 6b84dee6ccc..c5d4ec542ee 100644 --- a/net/udpcast/Makefile +++ b/net/udpcast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/08/22 15:52:15 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/04/07 18:19:22 joerg Exp $ # DISTNAME= udpcast-20060619 @@ -9,13 +9,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://udpcast.linux.lu/ COMMENT= Send data simultaneously to many destinations on a LAN +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake perl +INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/udp-receiver ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/udp-sender ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/udp-receiver.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/udp-sender.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/udp-receiver ${DESTDIR}${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/udp-sender ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/udp-receiver.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/udp-sender.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3