diff options
author | hauke <hauke@pkgsrc.org> | 2011-05-19 13:15:59 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2011-05-19 13:15:59 +0000 |
commit | 4b8a9b8d04b2936c888fc1851d879f6a4920416f (patch) | |
tree | 57684fac99299420aefaa55bdd90a4cc6e0535fe /databases | |
parent | ab9cd8c2d7ddfb52bdfb18bbee2731332d0dcad1 (diff) | |
download | pkgsrc-4b8a9b8d04b2936c888fc1851d879f6a4920416f.tar.gz |
Convert package to DESTDIR
Set LICENSE
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gnats/Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index 79c74f2f9e7..65ad9c2b53e 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2011/02/28 14:52:42 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2011/05/19 13:15:59 hauke Exp $ DISTNAME= gnats-4.1.0 PKGREVISION= 3 @@ -8,12 +8,17 @@ MASTER_SITES= ${MASTER_SITE_GNU:=gnats/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/gnats/ COMMENT= GNATS bug tracking system +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir USE_PKGLOCALEDIR= yes USE_TOOLS+= gm4 gmake makeinfo bison TEXINFO_REQD+= 4.6 USE_LIBTOOL= yes GNU_CONFIGURE= yes + +BUILD_DEFS+= VARBASE CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS+= --with-gnats-service=service-name=${GNATS_SERVICE} CONFIGURE_ARGS+= --with-gnats-user=${GNATS_USER:Q} @@ -51,7 +56,13 @@ GNATS_DBHOME?= ${GNATS_HOME}/gnatsdb REQD_DIRS+= ${PREFIX}/share/gnats REQD_DIRS+= ${PREFIX}/libexec/gnats REQD_DIRS+= ${EGDIR} -OWN_DIRS_PERMS+= ${GNATS_HOME} gnats daemon 755 +OWN_DIRS_PERMS+= ${GNATS_HOME} ${GNATS_USER} ${GNATS_GROUP} 755 + +INSTALLATION_DIRS= bin libexec/gnats info share +INSTALLATION_DIRS+= share/examples share/examples/gnats +INSTALLATION_DIRS+= share/gnats share/gnats/defaults +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 +INSTALLATION_DIRS+= ${PKGMANDIR}/man7 ${PKGMANDIR}/man8 EGDIR= ${PREFIX}/share/examples/gnats CONF_FILES_PERMS+= ${EGDIR}/gnatsd.user_access ${GNATS_USER_FILE} \ @@ -69,7 +80,7 @@ MESSAGE_SUBST+= GNATS_SERVICE=${GNATS_SERVICE:Q} SUBST_CLASSES+= gnats SUBST_STAGE.gnats= pre-configure SUBST_FILES.gnats= gnats/Makefile.in gnats/mkdb.sh send-pr/Makefile.in -SUBST_SED.gnats= -e "s,%%EGDIR%%,${EGDIR},g" -SUBST_SED.gnats+= -e "s,%%GNATS_DEFAULTS%%,${PREFIX}/share/gnats/defaults,g" +SUBST_SED.gnats= -e "s,%%EGDIR%%,${DESTDIR}${EGDIR},g" +SUBST_SED.gnats+= -e "s,%%GNATS_DEFAULTS%%,${DESTDIR}${PREFIX}/share/gnats/defaults,g" .include "../../mk/bsd.pkg.mk" |