pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libslang DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27b6345fb2b4
branches:  trunk
changeset: 520876:27b6345fb2b4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Nov 01 08:58:27 2006 +0000

description:
DESTDIR support.

diffstat:

 devel/libslang/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 9f5fbd355d1c -r 27b6345fb2b4 devel/libslang/Makefile
--- a/devel/libslang/Makefile   Wed Nov 01 07:21:12 2006 +0000
+++ b/devel/libslang/Makefile   Wed Nov 01 08:58:27 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/09/08 19:23:01 kristerw Exp $
+# $NetBSD: Makefile,v 1.59 2006/11/01 08:58:27 joerg Exp $
 #
 
 DISTNAME=      slang-1.4.9
@@ -18,6 +18,7 @@
 COMMENT=       Routines for rapid alpha-numeric terminal applications development
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
 USE_LIBTOOL=           yes
@@ -26,9 +27,9 @@
 DLOPEN_REQUIRE_PTHREADS=no
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/slang
-       ${MV} ${PREFIX}/share/doc/slang/slangdoc.html \
-               ${PREFIX}/share/doc/html/slang
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/slang
+       ${MV} ${DESTDIR}${PREFIX}/share/doc/slang/slangdoc.html \
+               ${DESTDIR}${PREFIX}/share/doc/html/slang
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index