summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/mantis/Makefile26
-rw-r--r--devel/mantis/PLIST3
-rw-r--r--devel/mantis/distinfo8
3 files changed, 20 insertions, 17 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"
diff --git a/devel/mantis/PLIST b/devel/mantis/PLIST
index 5ea96cfd9d4..304cd49776d 100644
--- a/devel/mantis/PLIST
+++ b/devel/mantis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2006/11/14 13:05:12 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.9.8.1 2007/12/03 12:53:58 ghen Exp $
share/doc/mantis/CUSTOMIZATION
share/doc/mantis/INSTALL
share/examples/mantis/config_inc.php
@@ -104,7 +104,6 @@ share/mantis/core/adodb/adodb-pear.inc.php
share/mantis/core/adodb/adodb-perf.inc.php
share/mantis/core/adodb/adodb-php4.inc.php
share/mantis/core/adodb/adodb-time.inc.php
-share/mantis/core/adodb/adodb-time.zip
share/mantis/core/adodb/adodb-xmlschema.inc.php
share/mantis/core/adodb/adodb.inc.php
share/mantis/core/adodb/contrib/toxmlrpc.inc.php
diff --git a/devel/mantis/distinfo b/devel/mantis/distinfo
index b09c4bd3654..4e2bfb5d791 100644
--- a/devel/mantis/distinfo
+++ b/devel/mantis/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2006/11/14 13:05:12 adrianp Exp $
+$NetBSD: distinfo,v 1.9.8.1 2007/12/03 12:53:59 ghen Exp $
-SHA1 (mantis-1.0.6.tar.gz) = 940a505d2a30e98679b156c503a96dc579ff0b01
-RMD160 (mantis-1.0.6.tar.gz) = 05b6cb89cf943447a887e9d8d52f927aaa316e16
-Size (mantis-1.0.6.tar.gz) = 1638568 bytes
+SHA1 (mantis-1.0.8.tar.gz) = 979947bc1f39d8471e48b3c914c46a91d6af3c38
+RMD160 (mantis-1.0.8.tar.gz) = 02e349a05d8d5c190d943ee4dc430a6adaffe1a0
+Size (mantis-1.0.8.tar.gz) = 1549854 bytes