mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
edb7229dd4
first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine)
123 lines
3.4 KiB
Makefile
123 lines
3.4 KiB
Makefile
# Created by: Marco Steinbach <coco@executive-computing.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= froxlor
|
|
PORTVERSION= 0.9.32
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils www
|
|
MASTER_SITES= http://files.froxlor.org/releases/
|
|
|
|
MAINTAINER= coco@executive-computing.de
|
|
COMMENT= PHP-based ISP Server Management Panel
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
NO_BUILD= YES
|
|
|
|
SUB_FILES+= pkg-message pkg-deinstall
|
|
SUB_LIST+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
PLIST_SUB+= ${SUB_LIST}
|
|
|
|
USE_PHP= bcmath curl filter ftp json mysql mysqli pdo_mysql posix session xml
|
|
|
|
WANT_PHP_CLI= YES
|
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= froxlor/install/tsmarty2c.php
|
|
|
|
OPTIONS_DEFINE= LIBNSS LOGROTATE MYSQLS DKIM PCNTL NLS
|
|
|
|
OPTIONS_RADIO= WEB SMTP IMAPPOP3 FTP DNS
|
|
OPTIONS_RADIO_WEB= APACHE LIGHTTPD NGINX
|
|
OPTIONS_RADIO_SMTP= POSTFIX EXIM
|
|
OPTIONS_RADIO_IMAPPOP3= DOVECOT COURIER
|
|
OPTIONS_RADIO_FTP= PROFTPD PUREFTPD
|
|
OPTIONS_RADIO_DNS= POWERDNS ISCDNS
|
|
OPTIONS_MULTI= WWWST
|
|
OPTIONS_MULTI_WWWST= WEBALIZER AWSTATS
|
|
|
|
WWWST_DESC= Web access and traffic statistics dependency
|
|
WEB_DESC= Web server dependency
|
|
SMTP_DESC= SMTP server dependency
|
|
IMAPPOP3_DESC= IMAP/POP3 server dependency
|
|
DNS_DESC= DNS server dependency
|
|
FTP_DESC= FTP server dependency
|
|
APACHE_DESC= Apache (2.2) as HTTP/HTTPS server
|
|
LIGHTTPD_DESC= Lighttpd as HTTP/HTTPS server
|
|
NGINX_DESC= Nginx as HTTP/HTTPS server
|
|
MYSQLC_DESC= MySQL database client only
|
|
MYSQLS_DESC= MySQL database server and client
|
|
POSTFIX_DESC= Postfix as SMTP server
|
|
EXIM_DESC= Exim as SMTP server
|
|
DKIM_DESC= OpenDKIM for DomainKeys Identified Mail
|
|
DOVECOT_DESC= Dovecot as IMAP/POP3 server
|
|
COURIER_DESC= Courier as IMAP/POP3 server
|
|
PROFTPD_DESC= ProFTPd as FTP server
|
|
PUREFTPD_DESC= Pure-FTPd as FTP server
|
|
POWERDNS_DESC= Powerdns as DNS server
|
|
ISCDNS_DESC= ISC BIND 9.9 from ports as DNS server
|
|
PCNTL_DESC= Use php-pcntl (speeds up statistics creation)
|
|
LIBNSS_DESC= Libnss-mysql for authentication
|
|
WEBALIZER_DESC= Webalizer (small, fast, static result pages)
|
|
AWSTATS_DESC= Awstats (more fancy, dynamic and static result pages)
|
|
LOGROTATE_DESC= Logrotate for log rotation
|
|
MYSQLS_DESC= Depend on MySQL server
|
|
NLS_DESC= Enable NLS support (required for webFTP frontend)
|
|
|
|
OPTIONS_DEFAULT= APACHE MYSQLS POSTFIX DOVECOT PROFTPD WEBALIZER MYSQLS PCNTL NLS
|
|
|
|
POSTFIX_RUN_DEPENDS= postfix:${PORTSDIR}/mail/postfix
|
|
|
|
EXIM_RUN_DEPENDS= exim:${PORTSDIR}/mail/exim
|
|
|
|
DKIM_RUN_DEPENDS= opendkim:${PORTSDIR}/mail/opendkim
|
|
|
|
DOVECOT_RUN_DEPENDS= dovecot:${PORTSDIR}/mail/dovecot
|
|
|
|
COURIER_RUN_DEPENDS= courier:${PORTSDIR}/mail/courier
|
|
|
|
PROFTPD_RUN_DEPENDS= ${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:${PORTSDIR}/databases/proftpd-mod_sql_mysql
|
|
|
|
PUREFTPD_RUN_DEPENDS= pure-ftpd:${PORTSDIR}/ftp/pure-ftpd
|
|
|
|
POWERDNS_RUN_DEPENDS= powerdns:${PORTSDIR}/dns/powerdns
|
|
|
|
ISCDNS_RUN_DEPENDS= bind>=9.9.0.0:${PORTSDIR}/dns/bind99
|
|
|
|
LIBNSS_RUN_DEPENDS= ${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
|
|
|
|
WEBALIZER_RUN_DEPENDS= webalizer:${PORTSDIR}/www/webalizer
|
|
|
|
AWSTATS_RUN_DEPENDS= awstats>=6.8:${PORTSDIR}/www/awstats
|
|
|
|
LOGROTATE_RUN_DEPENDS= logrotate:${PORTSDIR}/sysutils/logrotate
|
|
|
|
LIGHTTPD_RUN_DEPENDS= lighttpd:${PORTSDIR}/www/lighttpd
|
|
|
|
NGINX_RUN_DEPENDS= nginx:${PORTSDIR}/www/nginx
|
|
|
|
APACHE_USE= APACHE_RUN=22
|
|
|
|
MYSQLS_USE= MYSQL=server
|
|
|
|
PCNTL_USE= PHP=pcntl
|
|
|
|
NLS_USES= gettext-runtime:run
|
|
NLS_USE= PHP=gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
|
WANT_PHP_MOD= YES
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKDIR}/${PORTNAME} && \
|
|
${FIND} . ! -name .gitignore | \
|
|
${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|