pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/freewais-sf List info files directly in the PLIST,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42b88626e7b
branches:  trunk
changeset: 510602:d42b88626e7b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 31 22:43:03 2006 +0000

description:
List info files directly in the PLIST, and honor PKGMANDIR.

diffstat:

 net/freewais-sf/Makefile |  20 +++++++++++---------
 net/freewais-sf/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r c0b583b03159 -r d42b88626e7b net/freewais-sf/Makefile
--- a/net/freewais-sf/Makefile  Fri Mar 31 22:30:02 2006 +0000
+++ b/net/freewais-sf/Makefile  Fri Mar 31 22:43:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/05 16:27:27 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/03/31 22:43:03 jlam Exp $
 #
 
 DISTNAME=      freeWAIS-sf-2.2.12
@@ -19,18 +19,20 @@
 HAS_CONFIGURE=         yes
 CONFIGURE_ENV+=                PREFIX=${PREFIX:Q}
 CONFIGURE_SCRIPT=      ./Configure
-CONFIGURE_ARGS+=       -sde -Dprefix=${PREFIX:Q} \
-                       -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS}
+CONFIGURE_ARGS+=       -sde -Dprefix=${PREFIX:Q}                       \
+                       -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS}       \
+                       -Dmansrc=${PREFIX:Q}/${PKGMANDIR:Q}/man1
 CONFIGURE_ENV+=                PERL5=${PERL5:Q}
-INSTALL_TARGET=        install install.man
-
-USE_MAKEINFO=  YES
-INFO_FILES=    fwsf.info
+INSTALL_TARGET=                install install.man
+INFO_FILES=            # PLIST
 
 post-build:
-       cd ${WRKSRC}/doc/SF; ${MAKEINFO} fwsf.texi
+       cd ${WRKSRC}/doc/SF && makeinfo fwsf.texi
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.info* ${PREFIX}/info
+       cd ${WRKSRC}/doc/SF; for f in fwsf.info fwsf.info-[0-9]*; do    \
+               ${TEST} ! -f "$$f" ||                                   \
+               ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR};          \
+       done
 
 .include "../../mk/bsd.pkg.mk"
diff -r c0b583b03159 -r d42b88626e7b net/freewais-sf/PLIST
--- a/net/freewais-sf/PLIST     Fri Mar 31 22:30:02 2006 +0000
+++ b/net/freewais-sf/PLIST     Fri Mar 31 22:43:03 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2004/09/22 08:09:47 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/31 22:43:03 jlam Exp $
 bin/catalog
 bin/check-sources
 bin/dictionary
@@ -17,6 +17,7 @@
 bin/waisserver
 bin/ws
 include/wais.h
+info/fwsf.info
 lib/libwais.la
 man/man1/catalog.1
 man/man1/dictionary.1



Home | Main Index | Thread Index | Old Index