- Remove Apache dependency. This ports works with other web servers.

Bump PORTREVISION for this.
- Remove the superfluous postfix run dependency option
- Clarify the options descriptions
- Change maintainer email to a delicated one
- Polish pkg-descr
- Make the Makefile look more like the example found in Porter's Handbook

PR:		ports/107978
Submitted by:	Darren Pilgrim <darren.pilgrim bitfreak.org> (maintainer)
This commit is contained in:
Rong-En Fan 2007-01-16 18:48:43 +00:00
parent a8c1c24a14
commit 932ec1ea35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182535
2 changed files with 22 additions and 25 deletions

View file

@ -7,47 +7,41 @@
PORTNAME= postfixadmin
PORTVERSION= 2.1.0
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= mail www
MASTER_SITES= http://high5.net/postfixadmin/ \
http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/
EXTRACT_SUFX= .tgz
MAINTAINER= darren.pilgrim@bitfreak.org
MAINTAINER= ports.maintainer@evilphi.com
COMMENT= PHP web-based management tool for Postfix virtual domains and users
NO_BUILD= yes
SUB_FILES+= pkg-message
OPTIONS= MYSQL "Use MySQL to store config data" on
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
OPTIONS= MYSQL "MySQL back-end (use mysql PHP extension)" on
OPTIONS+= MYSQLI "MySQL 4.1+ back-end (use mysqli PHP extension)" off
OPTIONS+= PGSQL "PostgreSQL back-end (use pgsql PHP extension)" off
.include <bsd.port.pre.mk>
USE_APACHE= 1.3+
USE_PHP= pcre session
.ifndef(WITHOUT_MYSQL)
.if !defined(WITHOUT_MYSQL)
USE_PHP+= mysql
.endif
.ifdef(WITH_MYSQLI)
.if defined(WITH_MYSQLI)
USE_PHP+= mysqli
.endif
.ifdef(WITH_PGSQL)
.if defined(WITH_PGSQL)
USE_PHP+= pgsql
.endif
.ifdef(WITHOUT_MYSQL) && !defined(WITH_MYSQLI) && !defined(WITH_PGSQL)
IGNORE= needs at least one database backend
.endif
.ifdef(WITH_POSTFIX_LOCAL)
RUN_DEPENDS+= postfix>=2[0-9]*:${PORTSDIR}/mail/postfix
.if defined(WITHOUT_MYSQL) && !defined(WITH_MYSQLI) && !defined(WITH_PGSQL)
IGNORE= needs at least one database back-end
.endif
.include "${PORTSDIR}/Mk/bsd.php.mk"

View file

@ -1,13 +1,16 @@
Postfix Admin is a Web Based Management tool for Postfix when you
are dealing with Postfix Style Virtual Domains and Virtual Users
that are stored in MySQL or Postgres. It's written in PHP.
Postfix Admin is a web-based management tool written in PHP for
Postfix with Postfix-style Virtual Domains using MySQL or
PostgreSQL lookups. Postfix Admin is known to work on Apache
and Lighttpd, but is designed to work on any web server with
PHP 4.1+ support.
Postfix Admin supports:
- Virtual Mailboxes / Virtual Aliases / Forwarders.
- Domain to Domain forwarding / Catch-All.
- Vacation (auto-response) for Virtual Mailboxes.
- Quota / Alias & Mailbox limits per domain.
- Backup MX.
Postfix Admin features:
- Virtual Mailboxes, Virtual Aliases and Forwarders;
- Domain-to-Domain Forwarding (Catch-All Aliases);
- Vacation (auto-responder) for Virtual Mailboxes;
- Quota, Alias & Mailbox limits per domain;
- Backup MX;
- Packaged with over 25 languages.
WWW: http://high5.net/postfixadmin/