diff options
author | seb <seb@pkgsrc.org> | 2004-01-20 18:05:35 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2004-01-20 18:05:35 +0000 |
commit | d97c42145ff8c0ab82a9987b9c99bddc72f063b9 (patch) | |
tree | 90ecfbf535ca24f6fef5642e05fd55d99dae3f64 /databases/gnats/Makefile | |
parent | 1e5d894339bff512bfeb3f8e4c8e9c43870a43e9 (diff) | |
download | pkgsrc-d97c42145ff8c0ab82a9987b9c99bddc72f063b9.tar.gz |
Remove info files entries from PLIST file.
Also dynamically handle the send-pr.info* files in ${PREFIX}/share/gnats/dist
Diffstat (limited to 'databases/gnats/Makefile')
-rw-r--r-- | databases/gnats/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index eea6c0d2f45..c80a9f68aaa 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -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 @@ CONFIGURE_ENV= SEND_PR=/dev/null # 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-build: 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" |