pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/gnats Remove info files entries from PLIST f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a104aae0a9f
branches:  trunk
changeset: 466565:4a104aae0a9f
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Jan 20 18:05:35 2004 +0000

description:
Remove info files entries from PLIST file.
Also dynamically handle the send-pr.info* files in ${PREFIX}/share/gnats/dist

diffstat:

 databases/gnats/Makefile |  7 ++++++-
 databases/gnats/PLIST    |  9 +--------
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r c75b16c4a55b -r 4a104aae0a9f databases/gnats/Makefile
--- a/databases/gnats/Makefile  Tue Jan 20 17:37:58 2004 +0000
+++ b/databases/gnats/Makefile  Tue Jan 20 18:05:35 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/08/09 10:38:23 seb Exp $
+# $NetBSD: Makefile,v 1.10 2004/01/20 18:05:35 seb Exp $
 
 DISTNAME=      gnats-3.113.1
 CATEGORIES=    devel
@@ -41,6 +41,8 @@
 # just install gnats
 INSTALL_TARGET=        install-gnats install-send-pr
 
+PLIST_SRC=     ${WRKSRC}/.PLIST
+
 post-build:
        (cd ${WRKSRC}/gnats;   ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} info)
        (cd ${WRKSRC}/send-pr; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} info)
@@ -48,5 +50,8 @@
 post-install:
        (cd ${WRKSRC}/gnats;   ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} install-info)
        (cd ${WRKSRC}/send-pr; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} install-info)
+       ${LS} ${PREFIX}/share/gnats/dist/send-pr.info* | \
+               ${SED} -e 's,^${PREFIX}/,,' > ${PLIST_SRC}
+       ${CAT} ${.CURDIR}/PLIST >> ${PLIST_SRC}
 
 .include "../../mk/bsd.pkg.mk"
diff -r c75b16c4a55b -r 4a104aae0a9f databases/gnats/PLIST
--- a/databases/gnats/PLIST     Tue Jan 20 17:37:58 2004 +0000
+++ b/databases/gnats/PLIST     Tue Jan 20 18:05:35 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2003/06/29 12:54:57 seb Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/01/20 18:05:35 seb Exp $
 bin/edit-pr
 bin/getclose
 bin/install-sid
@@ -7,12 +7,6 @@
 bin/query-pr
 bin/send-pr
 bin/sub-type
-info/gnats.info
-info/gnats.info-1
-info/gnats.info-2
-info/gnats.info-3
-info/gnats.info-4
-info/send-pr.info
 libexec/gnats/at-pr
 libexec/gnats/check-db
 libexec/gnats/delete-pr
@@ -54,7 +48,6 @@
 share/gnats/dist/s-usage.texi
 share/gnats/dist/send-pr-el.in
 share/gnats/dist/send-pr.1
-share/gnats/dist/send-pr.info
 share/gnats/dist/send-pr.sh
 share/gnats/dist/send-pr.texi
 share/gnats/dist/states.texi



Home | Main Index | Thread Index | Old Index