summaryrefslogtreecommitdiff
path: root/editors/abiword
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-14 14:26:46 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-14 14:26:46 +0000
commita17961b25ceaad6c3c12453f4c9b5ab20c9fe213 (patch)
treefe70d3dc67f4d602834dfe4c1604064c28676b0f /editors/abiword
parent6412a1293d566de4fbf494f92ac82094cf08863b (diff)
downloadpkgsrc-a17961b25ceaad6c3c12453f4c9b5ab20c9fe213.tar.gz
DESTDIR support.
Diffstat (limited to 'editors/abiword')
-rw-r--r--editors/abiword/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 7add662520f..68a36c71e0d 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.106 2006/11/10 16:53:28 tv Exp $
+# $NetBSD: Makefile,v 1.107 2006/11/14 14:26:46 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -49,8 +51,8 @@ post-build:
post-install:
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/abiword-docs/man/abiword.1 \
- ${PREFIX}/${PKGMANDIR}/man1/abiword.1
- cp -R ${WRKDIR}/help ${PREFIX}/share/AbiSuite-2.4/AbiWord/
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/abiword.1
+ cp -R ${WRKDIR}/help ${DESTDIR}${PREFIX}/share/AbiSuite-2.4/AbiWord/
.if !empty(PKG_OPTIONS:Mgucharmap)
.include "../../fonts/gucharmap/buildlink3.mk"