pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/vera * Honor PKGINFODIR and drop use of obsolete ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8087b447e56
branches:  trunk
changeset: 509968:c8087b447e56
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Mar 20 17:16:13 2006 +0000

description:
* Honor PKGINFODIR and drop use of obsolete INFO_DIR.
* List the info files directly in the PLIST.

diffstat:

 misc/vera/Makefile |  13 ++++++++-----
 misc/vera/PLIST    |   3 ++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 21c69d60b86e -r c8087b447e56 misc/vera/Makefile
--- a/misc/vera/Makefile        Mon Mar 20 17:13:57 2006 +0000
+++ b/misc/vera/Makefile        Mon Mar 20 17:16:13 2006 +0000
@@ -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 @@
 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 -r 21c69d60b86e -r c8087b447e56 misc/vera/PLIST
--- a/misc/vera/PLIST   Mon Mar 20 17:13:57 2006 +0000
+++ b/misc/vera/PLIST   Mon Mar 20 17:16:13 2006 +0000
@@ -1,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



Home | Main Index | Thread Index | Old Index