summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-01 08:58:27 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-01 08:58:27 +0000
commit01a9ce791898e79bf2b05f12f0e7f7c5faa8d7b7 (patch)
tree43767633605de3ba917e61eea24047e4e5e1bbe6 /devel
parent0377214cdab22e6693e7cf777c2e7f3f111391d6 (diff)
downloadpkgsrc-01a9ce791898e79bf2b05f12f0e7f7c5faa8d7b7.tar.gz
DESTDIR support.
Diffstat (limited to 'devel')
-rw-r--r--devel/libslang/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 8371fb7fbe0..57d17556c54 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -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 @@ HOMEPAGE= http://www.s-lang.org/
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 @@ GNU_CONFIGURE= yes
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"