diff options
Diffstat (limited to 'databases/gnats/Makefile')
-rw-r--r-- | databases/gnats/Makefile | 55 |
1 files changed, 19 insertions, 36 deletions
diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index 66be0ac5570..d4cdc8dc599 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -1,28 +1,32 @@ -# $NetBSD: Makefile,v 1.13 2004/03/06 18:27:47 recht Exp $ +# $NetBSD: Makefile,v 1.14 2004/11/10 21:34:46 soren Exp $ +# -DISTNAME= gnats-3.113.1 -CATEGORIES= devel +DISTNAME= gnats-4.0 +CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GNU:=gnats/} -MAINTAINER= tech-pkg@NetBSD.org +MAINTAINER= recht@NetBSD.org HOMEPAGE= http://www.gnu.org/software/gnats/ -COMMENT= Cygnus GNATS bug tracking system +COMMENT= GNATS bug tracking system -USE_PKGINSTALL= YES -GNU_CONFIGURE= YES -USE_GNU_TOOLS+= m4 make -USE_BISON= yes +USE_BUILDLINK3= yes +USE_PKGLOCALEDIR= yes +USE_GNU_TOOLS+= m4 make +USE_BISON= yes +USE_MAKEINFO= yes +TEXINFO_REQD= 4.6 +USE_LIBTOOL= yes +GNU_CONFIGURE= yes -USE_MAKEINFO= YES -INFO_FILES= gnats.info send-pr.info +INFO_FILES= gnats.info gnats-faq.info -CONFIGURE_ARGS= --with-lispdir=${PREFIX}/share/emacs/site-lisp \ - --with-full-gnats \ - --with-release-based +CONFIGURE_ARGS= --with-lispdir=${PREFIX}/share/emacs/site-lisp GNATS_HOME= ${PREFIX}/share/gnats/gnats-db -PKG_USERS= gnats:daemon::GNATS\\ database\\ owner:${GNATS_HOME}:/bin/sh +PKG_USERS= gnats:daemon::GNATS\\ database\\ owner:${GNATS_HOME}:${SH} + MAKE_DIRS= ${PREFIX}/share/gnats +MAKE_DIRS+= ${PREFIX}/libexec/gnats OWN_DIRS_PERMS= ${GNATS_HOME} gnats daemon 755 OWN_DIRS_PERMS+= ${GNATS_HOME}/gnats-queue gnats daemon 755 OWN_DIRS_PERMS+= ${GNATS_HOME}/pending gnats daemon 755 @@ -31,25 +35,4 @@ OWN_DIRS_PERMS+= ${GNATS_HOME}/gnats-adm/locks gnats daemon 755 MESSAGE_SUBST+= PREFIX="${PREFIX}" -# this stops the configuration program from pulling installation -# information in from the standard NetBSD send-pr program -CONFIGURE_ENV= SEND_PR=/dev/null - -# the gnats distribution comes with a lot of baggage we don't want to install -# 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) - -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" |