pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/abiword DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e10819e4fb1
branches:  trunk
changeset: 521561:3e10819e4fb1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 14 14:26:46 2006 +0000

description:
DESTDIR support.

diffstat:

 editors/abiword/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r ed93515bfe09 -r 3e10819e4fb1 editors/abiword/Makefile
--- a/editors/abiword/Makefile  Tue Nov 14 14:22:12 2006 +0000
+++ b/editors/abiword/Makefile  Tue Nov 14 14:26:46 2006 +0000
@@ -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-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"



Home | Main Index | Thread Index | Old Index