summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-20 17:16:13 +0000
committerjlam <jlam@pkgsrc.org>2006-03-20 17:16:13 +0000
commit068ab199e00cf5ed93e26decda5375e8801619ac (patch)
treeb51e30af66c64507780917db285a37d3bf5baa9f /misc
parent316bdc86fbcb9c5df9f8a8d3f8aa9cc0fa70ab43 (diff)
downloadpkgsrc-068ab199e00cf5ed93e26decda5375e8801619ac.tar.gz
* Honor PKGINFODIR and drop use of obsolete INFO_DIR.
* List the info files directly in the PLIST.
Diffstat (limited to 'misc')
-rw-r--r--misc/vera/Makefile13
-rw-r--r--misc/vera/PLIST3
2 files changed, 10 insertions, 6 deletions
diff --git a/misc/vera/Makefile b/misc/vera/Makefile
index ca45701c723..fc224e9be92 100644
--- a/misc/vera/Makefile
+++ b/misc/vera/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/05 16:27:27 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2006/03/20 17:16:13 jlam Exp $
DISTNAME= vera-1.16
CATEGORIES= misc
@@ -10,14 +10,17 @@ HOMEPAGE= http://cgi.snafu.de/ohei/user-cgi-bin/veramain-e.cgi
COMMENT= Virtual Entity of Relevant Acronyms
USE_TOOLS+= makeinfo
-INFO_FILES= vera.info
+INFO_FILES= # PLIST
-INSTALLATION_DIRS= info
+INSTALLATION_DIRS= ${PKGINFODIR}
do-build:
- cd ${WRKSRC} && ${MAKEINFO} vera.texi
+ cd ${WRKSRC} && makeinfo vera.texi
do-install:
- ${INSTALL_DATA} ${WRKSRC}/vera.info* ${PREFIX}/${INFO_DIR}
+ cd ${WRKSRC}; for f in vera.info vera.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/vera/PLIST b/misc/vera/PLIST
index 76285e9bd38..ac1a67044ff 100644
--- a/misc/vera/PLIST
+++ b/misc/vera/PLIST
@@ -1 +1,2 @@
-@comment $NetBSD: PLIST,v 1.5 2004/03/08 22:24:04 seb Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/20 17:16:13 jlam Exp $
+info/vera.info