summaryrefslogtreecommitdiff
path: root/devel/slib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-20 18:15:37 +0000
committerjlam <jlam@pkgsrc.org>2006-03-20 18:15:37 +0000
commit741aecb60794fe08a7a2c61bfcc516bee56c6a2b (patch)
tree0f05903ff61fcd859ec72aa544fa1e5eda653bf6 /devel/slib
parent6132a5c7603ce3eb9c6eaaf83c45b47f9e30fa6d (diff)
downloadpkgsrc-741aecb60794fe08a7a2c61bfcc516bee56c6a2b.tar.gz
* Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead. * Properly account for split info files during installation. * Move info file listings directly into the package PLISTs. This fixes info-file-related PLIST problems.
Diffstat (limited to 'devel/slib')
-rw-r--r--devel/slib/Makefile12
-rw-r--r--devel/slib/PLIST3
2 files changed, 9 insertions, 6 deletions
diff --git a/devel/slib/Makefile b/devel/slib/Makefile
index 9eb39295ee7..27885fd8c8d 100644
--- a/devel/slib/Makefile
+++ b/devel/slib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/03/04 21:29:29 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2006/03/20 18:15:38 jlam Exp $
DISTNAME= slib3a2
#
@@ -24,16 +24,18 @@ NO_BUILD= yes
SLIBDIR= ${PREFIX}/share/slib
DOCDIR= ${PREFIX}/share/doc/slib
+INFO_FILES= # PLIST
-INFO_FILES= slib.info
-
-INSTALLATION_DIRS= ${INFO_DIR}
+INSTALLATION_DIRS= ${PKGINFODIR}
do-install:
${INSTALL_DATA_DIR} ${SLIBDIR}
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${SLIBDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/slib.info ${PREFIX}/${INFO_DIR}
+ cd ${WRKSRC}; for f in slib.info slib.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/slib/PLIST b/devel/slib/PLIST
index ea0cadfe40d..425084c9e97 100644
--- a/devel/slib/PLIST
+++ b/devel/slib/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.8 2005/10/19 12:38:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/03/20 18:15:38 jlam Exp $
+info/slib.info
share/doc/slib/FAQ
share/doc/slib/README
share/slib/Bev2slib.scm