diff options
Diffstat (limited to 'devel/mantis/Makefile')
-rw-r--r-- | devel/mantis/Makefile | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/devel/mantis/Makefile b/devel/mantis/Makefile index 70e7e8d484a..ab2d409f870 100644 --- a/devel/mantis/Makefile +++ b/devel/mantis/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2007/07/04 20:54:38 jlam Exp $ +# $NetBSD: Makefile,v 1.27.2.1 2007/12/03 12:53:57 ghen Exp $ -DISTNAME= mantis-1.0.6 +DISTNAME= mantis-1.0.8 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/} @@ -24,18 +24,19 @@ PKG_SUPPORTED_OPTIONS= charts DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph .endif -APACHE_USER?= www +APACHE_USER?= www +BUILD_DEFS+= APACHE_USER -PKG_USERS_VARS+=APACHE_USER -MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} +PKG_USERS_VARS+= APACHE_USER +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} -MANTIS_HOME= ${PREFIX}/share/mantis -EGDIR= ${PREFIX}/share/examples/mantis -CONF_FILES+= ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf +MANTIS_HOME= ${PREFIX}/share/mantis +EGDIR= ${PREFIX}/share/examples/mantis +CONF_FILES+= ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf CONF_FILES_PERMS+= ${EGDIR}/config_inc.php \ ${MANTIS_HOME}/config_inc.php \ ${APACHE_USER} ${SHAREGRP} 0400 -MANTIS_EG= config_inc.php mantis.conf mantis_offline.php.sample +MANTIS_EG= config_inc.php mantis.conf mantis_offline.php.sample SUBST_CLASSES+= conf SUBST_STAGE.conf= pre-install @@ -56,13 +57,16 @@ do-install: ${MV} ${WRKSRC}/config_inc.php.sample ${WRKSRC}/config_inc.php . for f in ${MANTIS_EG} - ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR} - ${RM} ${WRKSRC}/${f} + ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR} + ${RM} ${WRKSRC}/${f} . endfor cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM} cd ${WRKSRC} && ${PAX} -rwpppm . ${MANTIS_HOME} + cd ${MANTIS_HOME} && \ + ${FIND} . -type f | ${XARGS} ${CHMOD} ${SHAREMODE} + .include "../../mk/mysql.buildlink3.mk" .include "../../lang/php/phpversion.mk" .include "../../mk/apache.mk" |