summaryrefslogtreecommitdiff
path: root/misc/vera
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-20 17:16:13 +0000
committerjlam <jlam>2006-03-20 17:16:13 +0000
commitde1db504a60bc88cd64a66b9e04640ead260b363 (patch)
treeb51e30af66c64507780917db285a37d3bf5baa9f /misc/vera
parent0c2b654156fc22430a38549f11cdb096868d3384 (diff)
downloadpkgsrc-de1db504a60bc88cd64a66b9e04640ead260b363.tar.gz
* Honor PKGINFODIR and drop use of obsolete INFO_DIR.
* List the info files directly in the PLIST.
Diffstat (limited to 'misc/vera')
-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