summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 21:27:32 +0000
committerabs <abs@pkgsrc.org>2009-12-17 21:27:32 +0000
commitc831bb948eda435c0fd91f3211998703f920e739 (patch)
treed26ae45adc9cd720b2512e3ded6e73818b8ca707 /chat
parent3d913cb9768dc4a8ef962479bc761f083cf4c5a6 (diff)
downloadpkgsrc-c831bb948eda435c0fd91f3211998703f920e739.tar.gz
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'chat')
-rw-r--r--chat/emech/Makefile11
-rw-r--r--chat/emech/distinfo4
2 files changed, 7 insertions, 8 deletions
diff --git a/chat/emech/Makefile b/chat/emech/Makefile
index f4b852e9ac0..9259748a5d7 100644
--- a/chat/emech/Makefile
+++ b/chat/emech/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/03/22 04:53:38 manu Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/17 21:34:19 abs Exp $
#
DISTNAME= emech-3.0.2
@@ -14,11 +14,12 @@ HAS_CONFIGURE= YES
# when given no input.
CONFIGURE_ARGS+= < /dev/null
BUILD_TARGET= mech
-AUTO_MKDIRS= yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS+= bin share/examples/emech
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/energymech ${PREFIX}/bin/mech
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/emech
- ${INSTALL_DATA} ${WRKSRC}/sample.conf ${PREFIX}/share/examples/emech/
+ ${INSTALL_PROGRAM} ${WRKSRC}/energymech ${DESTDIR}${PREFIX}/bin/mech
+ ${INSTALL_DATA} ${WRKSRC}/sample.conf ${DESTDIR}${PREFIX}/share/examples/emech/
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/emech/distinfo b/chat/emech/distinfo
index c0f0db3b1c8..aea13356e02 100644
--- a/chat/emech/distinfo
+++ b/chat/emech/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.4 2007/03/17 14:13:23 rillig Exp $
+$NetBSD: distinfo,v 1.5 2009/12/17 21:34:19 abs Exp $
SHA1 (emech-3.0.2.tar.gz) = f74a07136cf6b672b496564c4838e12246f25c0a
RMD160 (emech-3.0.2.tar.gz) = 2c4bed99dc200afd3636cae948eea193a85e65c2
Size (emech-3.0.2.tar.gz) = 229907 bytes
-SHA1 (patch-aa) = bd69c3628e414de3d151a23a004887d81ad4d765
-SHA1 (patch-ab) = 628d0e9a7d8a8a7792fd2e4723fe6afe64732009