summaryrefslogtreecommitdiff
path: root/security/antonym
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/antonym
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/antonym')
-rw-r--r--security/antonym/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/security/antonym/Makefile b/security/antonym/Makefile
index d7e806b9d8b..30cdb01eca0 100644
--- a/security/antonym/Makefile
+++ b/security/antonym/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/03/19 16:40:28 tv Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= antonym-1.9
@@ -17,14 +17,15 @@ USE_TOOLS+= perl:run
REPLACE_PERL= antonym
PKG_INSTALLATION_TYPES= overwrite pkgviews
-INSTALLATION_DIRS= bin
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin share/examples/antonym
do-build: # empty
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/antonym ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/antonym
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/antonym/
- ${INSTALL_DATA} ${WRKSRC}/replyblocks.dat.example ${PREFIX}/share/examples/antonym/dot.antonym
+ ${INSTALL_SCRIPT} ${WRKSRC}/antonym ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/examples/antonym/
+ ${INSTALL_DATA} ${WRKSRC}/replyblocks.dat.example ${DESTDIR}${PREFIX}/share/examples/antonym/dot.antonym
.include "../../mk/bsd.pkg.mk"