summaryrefslogtreecommitdiff
path: root/devel/libslang/Makefile
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
commitb952a4bc6e2562a15ae64c212bcb9488076a9c36 (patch)
tree43767633605de3ba917e61eea24047e4e5e1bbe6 /devel/libslang/Makefile
parent2993e548d7470b5c56bf2c33211a48808ee33ab6 (diff)
downloadpkgsrc-b952a4bc6e2562a15ae64c212bcb9488076a9c36.tar.gz
DESTDIR support.
Diffstat (limited to 'devel/libslang/Makefile')
-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"