summaryrefslogtreecommitdiff
path: root/net/edonkey2k
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 20:50:59 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 20:50:59 +0000
commit3491ee542add90c6bd1c7d90afc88dbf0387c20f (patch)
tree2043fbbbd079856002aabbb8346a5790c918af81 /net/edonkey2k
parentaf0793263e71a3d3b1831b20fda605e9fa4c22f0 (diff)
downloadpkgsrc-3491ee542add90c6bd1c7d90afc88dbf0387c20f.tar.gz
DESTDIR support
Diffstat (limited to 'net/edonkey2k')
-rw-r--r--net/edonkey2k/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/edonkey2k/Makefile b/net/edonkey2k/Makefile
index 2444560cbd6..fb283a160b3 100644
--- a/net/edonkey2k/Makefile
+++ b/net/edonkey2k/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/10/18 20:28:52 zafer Exp $
+# $NetBSD: Makefile,v 1.18 2010/02/11 20:52:00 joerg Exp $
#
DISTNAME= donkey
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.edonkey2000.com/
COMMENT= Yet another P2P file sharing tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base compat
@@ -21,6 +23,6 @@ BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"