summaryrefslogtreecommitdiff
path: root/editors/abiword
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-14 14:26:46 +0000
committerjoerg <joerg>2006-11-14 14:26:46 +0000
commit0a4b77134d094877bfd5e0f623d20f2e9ae74c4f (patch)
treefe70d3dc67f4d602834dfe4c1604064c28676b0f /editors/abiword
parent04c90afc480c9567ebe51196a278bd51cbeed664 (diff)
downloadpkgsrc-0a4b77134d094877bfd5e0f623d20f2e9ae74c4f.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"