summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"