summaryrefslogtreecommitdiff
path: root/net/trickle
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 17:38:00 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 17:38:00 +0000
commitf9b0122de124860db42cf00a44c8a1727d7619df (patch)
tree97082f6cc7700c6127a782f4bf2fe3ed0a9bd58c /net/trickle
parent649053b57a7a86a0e3e66dfe369a1799bd9ed1f3 (diff)
downloadpkgsrc-f9b0122de124860db42cf00a44c8a1727d7619df.tar.gz
DESTDIR support
Diffstat (limited to 'net/trickle')
-rw-r--r--net/trickle/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
index b58f67c3125..c824056ca98 100644
--- a/net/trickle/Makefile
+++ b/net/trickle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/08/16 15:35:44 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2010/01/27 17:38:00 joerg Exp $
#
DISTNAME= trickle-1.06
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~marius/trickle/
COMMENT= Portable lightweight userspace bandwidth shaper
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -19,10 +21,10 @@ EGDIR= ${PREFIX}/share/examples/trickle
CONF_FILES= ${EGDIR}/trickled.conf ${PKG_SYSCONFDIR}/trickled.conf
RCD_SCRIPTS= trickled
+INSTALLATION_DIRS+= ${EGDIR}
pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${FILESDIR}/trickled.conf ${EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/trickled.conf ${DESTDIR}${EGDIR}
.include "../../devel/libevent/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"