summaryrefslogtreecommitdiff
path: root/net/mldonkey-gui
diff options
context:
space:
mode:
authorwiz <wiz>2009-02-16 13:11:40 +0000
committerwiz <wiz>2009-02-16 13:11:40 +0000
commitcaf4ad9a51f71f16d2eb48b924e2b9941a1a65b8 (patch)
treec74918525ead3a9fdcbdc2d913874e29ea799b91 /net/mldonkey-gui
parentf42ed515bdc8d5be6d1fc0a107a1a4e5aa614ae9 (diff)
downloadpkgsrc-caf4ad9a51f71f16d2eb48b924e2b9941a1a65b8.tar.gz
Convert to user-destdir.
Diffstat (limited to 'net/mldonkey-gui')
-rw-r--r--net/mldonkey-gui/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/mldonkey-gui/Makefile b/net/mldonkey-gui/Makefile
index ec937d7f127..264b1084537 100644
--- a/net/mldonkey-gui/Makefile
+++ b/net/mldonkey-gui/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2008/08/12 17:09:01 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2009/02/16 13:11:41 wiz Exp $
#
.include "../../net/mldonkey/Makefile.common"
@@ -18,11 +18,13 @@ INSTALLATION_DIRS= bin
.include "options.mk"
do-install:
- ${RM} -f ${PREFIX}/bin/mlgui
- cd ${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey
- ${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${PREFIX}/libexec/mldonkey
- ${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter ${PREFIX}/libexec/mldonkey
- ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui ${PREFIX}/libexec/mldonkey
+ ${RM} -f ${DESTDIR}${PREFIX}/bin/mlgui
+ cd ${DESTDIR}${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${DESTDIR}${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter \
+ ${DESTDIR}${PREFIX}/libexec/mldonkey
+ ${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui \
+ ${DESTDIR}${PREFIX}/libexec/mldonkey
.include "../../mk/bsd.pkg.mk"