summaryrefslogtreecommitdiff
path: root/net/udpcast
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-07 18:19:22 +0000
committerjoerg <joerg>2008-04-07 18:19:22 +0000
commitc9cc64ecfb092e64d34337cd4da423d9670adcb9 (patch)
tree75592b79b19ee85678012269a8bc1f4cb258ca8b /net/udpcast
parent7d89f4ce6c17ebc4e95f286bad5a10ec4ec2046a (diff)
downloadpkgsrc-c9cc64ecfb092e64d34337cd4da423d9670adcb9.tar.gz
DESTDIR support.
Diffstat (limited to 'net/udpcast')
-rw-r--r--net/udpcast/Makefile14
1 files changed, 9 insertions, 5 deletions
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"