2013-03-16 07:47:21 +01:00
|
|
|
# Created by: Rob Evers <rob@debank.tv>
|
2004-01-03 07:56:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= postfixadmin
|
2020-05-14 07:12:34 +02:00
|
|
|
DISTVERSIONPREFIX= postfixadmin-
|
|
|
|
DISTVERSION= 3.2.4
|
2006-06-17 12:57:39 +02:00
|
|
|
CATEGORIES= mail www
|
2004-01-03 07:56:12 +01:00
|
|
|
|
2015-01-09 22:39:45 +01:00
|
|
|
MAINTAINER= ports.maintainer@evilphi.com
|
2006-06-17 12:57:39 +02:00
|
|
|
COMMENT= PHP web-based management tool for Postfix virtual domains and users
|
2004-01-03 07:56:12 +01:00
|
|
|
|
2016-09-13 18:42:33 +02:00
|
|
|
LICENSE= GPLv2+
|
2012-01-30 00:36:29 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/GPL-LICENSE.TXT
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS+= p5-DBI>=1.634:databases/p5-DBI \
|
2018-09-04 21:25:12 +02:00
|
|
|
p5-Email-Sender>=1.300031:mail/p5-Email-Sender \
|
2016-04-01 16:16:16 +02:00
|
|
|
p5-Email-Valid>=0.12:mail/p5-Email-Valid \
|
|
|
|
p5-Log-Dispatch>=1.79:devel/p5-Log-Dispatch \
|
|
|
|
p5-Log-Log4perl>=0.26:devel/p5-Log-Log4perl \
|
|
|
|
p5-MIME-EncWords>=0.040:mail/p5-MIME-EncWords
|
2015-09-12 01:18:00 +02:00
|
|
|
|
2016-09-13 18:42:33 +02:00
|
|
|
USES= cpe perl5 shebangfix php
|
2020-05-14 07:12:34 +02:00
|
|
|
USE_GITHUB= yes
|
2014-07-13 22:45:24 +02:00
|
|
|
CPE_VENDOR= postfix_admin_project
|
|
|
|
CPE_PRODUCT= postfix_admin
|
|
|
|
|
2015-10-30 12:26:43 +01:00
|
|
|
NO_ARCH= yes
|
2004-01-03 07:56:12 +01:00
|
|
|
NO_BUILD= yes
|
2005-04-18 20:14:07 +02:00
|
|
|
|
2006-06-17 12:57:39 +02:00
|
|
|
SUB_FILES+= pkg-message
|
2015-10-28 13:57:41 +01:00
|
|
|
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
2004-01-03 07:56:12 +01:00
|
|
|
|
2015-10-30 12:26:43 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2016-09-13 18:42:33 +02:00
|
|
|
OPTIONS_MULTI= DB
|
|
|
|
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
|
2015-10-28 13:57:41 +01:00
|
|
|
OPTIONS_DEFAULT= PGSQL
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2015-09-14 00:10:19 +02:00
|
|
|
USE_PERL5= run
|
2015-09-12 01:18:00 +02:00
|
|
|
|
2018-09-18 06:03:27 +02:00
|
|
|
USE_PHP= mbstring openssl pcre phar session spl xmlrpc
|
2006-06-17 12:57:39 +02:00
|
|
|
|
2016-09-13 18:42:33 +02:00
|
|
|
MYSQL_USE= php=mysqli
|
2015-10-28 13:57:41 +01:00
|
|
|
PGSQL_USE= php=pgsql
|
2016-09-13 18:42:33 +02:00
|
|
|
SQLITE_USE= php=sqlite3
|
2014-07-13 15:31:01 +02:00
|
|
|
|
2004-01-03 07:56:12 +01:00
|
|
|
do-install:
|
2015-10-28 13:57:41 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
2017-09-06 04:51:58 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c
|
2018-09-04 21:25:12 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR}
|
|
|
|
.for i in configs languages lib model public scripts templates tests
|
2015-10-28 13:57:41 +01:00
|
|
|
@cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${i}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2018-09-18 06:03:27 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/GPL-LICENSE.TXT ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${STAGEDIR}${DATADIR}
|
2015-10-28 13:57:41 +01:00
|
|
|
.for i in ADDITIONS VIRTUAL_VACATION
|
|
|
|
@cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${i}
|
|
|
|
.endfor
|
2015-10-30 12:26:43 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2015-10-28 13:57:41 +01:00
|
|
|
@cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2018-09-18 06:03:27 +02:00
|
|
|
.for i in CHANGELOG.TXT INSTALL.TXT README.md
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
2008-07-14 03:42:32 +02:00
|
|
|
|
2013-03-16 10:04:41 +01:00
|
|
|
.include <bsd.port.mk>
|