summaryrefslogtreecommitdiff
path: root/misc/sci
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 17:29:59 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 17:29:59 +0000
commit33d557d69b50a371eee0accbad4ee7b57cc286a8 (patch)
tree59e92fcc6d87fcbeb773696266127f4f3af0d107 /misc/sci
parent70e58a9e24ab28886c81024eae28a1335a529508 (diff)
downloadpkgsrc-33d557d69b50a371eee0accbad4ee7b57cc286a8.tar.gz
DESTDIR support
Diffstat (limited to 'misc/sci')
-rw-r--r--misc/sci/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/sci/Makefile b/misc/sci/Makefile
index dbeade45a85..de282be5ac9 100644
--- a/misc/sci/Makefile
+++ b/misc/sci/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:13 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/04 17:29:59 joerg Exp $
#
DISTNAME= sci-0.5.6
@@ -9,15 +9,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://linuxparts.com/software.html
COMMENT= Curses based data entry via templates
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
+INSTALLATION_DIRS+= share/doc/sci share/examples/sci
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sci ${PREFIX}/share/examples/sci
for i in COPYING README INSTALL NEWS ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/sci ; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/sci ; \
done
for i in samples/* ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/examples/sci ; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/examples/sci ; \
done
.include "../../mk/bsd.pkg.mk"