diff options
author | abs <abs> | 2011-09-10 16:36:26 +0000 |
---|---|---|
committer | abs <abs> | 2011-09-10 16:36:26 +0000 |
commit | 2c9e54fd1389fe70c0506bb06c0dc0eb6550786c (patch) | |
tree | f8e3ff7aab1a78814e4c591c42c34b9eeee6cbd9 /www/mediawiki | |
parent | 038dc212ce3daaa35851c10987f2586a829d9d51 (diff) | |
download | pkgsrc-2c9e54fd1389fe70c0506bb06c0dc0eb6550786c.tar.gz |
Add an apache option (defaults on) to allow building without apache
Diffstat (limited to 'www/mediawiki')
-rw-r--r-- | www/mediawiki/Makefile | 4 | ||||
-rw-r--r-- | www/mediawiki/options.mk | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/www/mediawiki/Makefile b/www/mediawiki/Makefile index 8d82bc423af..2e7b7e19445 100644 --- a/www/mediawiki/Makefile +++ b/www/mediawiki/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2011/07/08 08:19:27 abs Exp $ +# $NetBSD: Makefile,v 1.16 2011/09/10 16:36:26 abs Exp $ DISTNAME= mediawiki-${VER}.${PVER} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.wikimedia.org/mediawiki/${VER}/ @@ -70,5 +71,4 @@ do-install: ${DESTDIR}${PREFIX}/${EGDIR}/mediawiki.conf .include "../../lang/php/phpversion.mk" -.include "../../mk/apache.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/mediawiki/options.mk b/www/mediawiki/options.mk index 03072be0541..d7376d0e92a 100644 --- a/www/mediawiki/options.mk +++ b/www/mediawiki/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.2 2009/07/24 11:44:51 abs Exp $ +# $NetBSD: options.mk,v 1.3 2011/09/10 16:36:27 abs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mediawiki PKG_OPTIONS_REQUIRED_GROUPS= db PKG_OPTIONS_GROUP.db= mysql pgsql -PKG_SUPPORTED_OPTIONS+= mysql pgsql -PKG_SUGGESTED_OPTIONS= mysql +PKG_SUPPORTED_OPTIONS+= apache mysql pgsql +PKG_SUGGESTED_OPTIONS= apache mysql .include "../../mk/bsd.options.mk" @@ -18,3 +18,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.10:../../databases/php-mysql .elif !empty(PKG_OPTIONS:Mpgsql) DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5:../../databases/php-pgsql .endif + +.if !empty(PKG_OPTIONS:Mapache) +.include "../../mk/apache.mk" +.endif |