diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-07 20:56:48 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-07-07 20:56:48 +0000 |
commit | c7577b09461ff831a3f831192b97609d73cb1cf1 (patch) | |
tree | 39e7112afd150344ab48aec1ae93c8946b5a7a21 /mail/postfixadmin | |
parent | Improve upon pkg-descr. Note install is in /usr/local and give link (diff) |
- Give the posibility to use mysqli as Db backend
- fix typos
PR: ports/99394
Submitted by: Darren Pilgrim <darren.pilgrim@bitfreak.org>
Notes
Notes:
svn path=/head/; revision=167161
Diffstat (limited to 'mail/postfixadmin')
-rw-r--r-- | mail/postfixadmin/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile index 6e35343a1830..c1832cd96ba4 100644 --- a/mail/postfixadmin/Makefile +++ b/mail/postfixadmin/Makefile @@ -7,7 +7,7 @@ PORTNAME= postfixadmin PORTVERSION= 2.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail www MASTER_SITES= http://high5.net/postfixadmin/ \ http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/ @@ -21,8 +21,9 @@ NO_BUILD= yes SUB_FILES+= pkg-message OPTIONS= MYSQL "Use MySQL to store config data" on -OPTIONS+= PGSQL "Use PostgresQL to store config data" off -OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix" off +OPTIONS+= MYSQLI "Use MySQL 4.1+ to store config data" off +OPTIONS+= PGSQL "Use PostgreSQL to store config data" off +OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix (OPTIONAL)" off .include <bsd.port.pre.mk> @@ -33,11 +34,15 @@ USE_PHP= pcre session USE_PHP+= mysql .endif +.ifdef(WITH_MYSQLI) +USE_PHP+= mysqli +.endif + .ifdef(WITH_PGSQL) USE_PHP+= pgsql .endif -.ifdef(WITHOUT_MYSQL) && !defined(WITH_PGSQL) +.ifdef(WITHOUT_MYSQL) && !defined(WITH_MYSQLI) && !defined(WITH_PGSQL) IGNORE= needs at least one database backend .endif @@ -81,4 +86,3 @@ post-install: ${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> -# DO NOT DELETE |