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
commit58250573bbcbf65d9b7fceb03a1ca730e232c636 (patch)
tree2043fbbbd079856002aabbb8346a5790c918af81 /net/edonkey2k
parent67c99775cf0499d02004b5ff1a9953cd05ea940e (diff)
downloadpkgsrc-58250573bbcbf65d9b7fceb03a1ca730e232c636.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"