b7f05445c0
It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
98 lines
2.9 KiB
Makefile
98 lines
2.9 KiB
Makefile
PORTNAME= opensmtpd-extras
|
|
PORTVERSION?= 6.7.1
|
|
PORTREVISION?= 0
|
|
PORTEPOCH?= 1
|
|
CATEGORIES+= mail
|
|
MASTER_SITES= http://www.opensmtpd.org/archives/
|
|
|
|
# NB: Please reset PORTREVISION to 0 in all slave subports
|
|
# while updating PORTVERSION for master port
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT?= Addons for OpenSMTPD
|
|
WWW= https://github.com/OpenSMTPD/OpenSMTPD-extras
|
|
|
|
LICENSE?= ISCL
|
|
|
|
LIB_DEPENDS+= libevent.so:devel/libevent
|
|
|
|
USES+= autoreconf ssl libtool
|
|
GNU_CONFIGURE= yes
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${PREFIX}/etc/mail" \
|
|
--with-libevent=${LOCALBASE} \
|
|
--with-libssl=${OPENSSLBASE}
|
|
|
|
NO_OPTIONS_SORT= yes
|
|
|
|
# NB: Please *DO NOT* add the following; they are NOT for end-users:
|
|
# queue-null, queue-stub
|
|
# scheduler-stub
|
|
# table-stub
|
|
|
|
#
|
|
# Pass OpenSMTPD branch selection to all extras
|
|
#
|
|
#OPTIONS_DEFINE= OPENSMTP_DEVEL
|
|
|
|
#OPENSMTP_DEVEL_DESC= Depend on opensmtpd-devel (opensmtpd if off)
|
|
#OPENSMTP_DEVEL_BUILD_DEPENDS_OFF= smtpctl:mail/opensmtpd
|
|
#OPENSMTP_DEVEL_RUN_DEPENDS_OFF= smtpctl:mail/opensmtpd
|
|
#OPENSMTP_DEVEL_BUILD_DEPENDS= smtpctl:mail/opensmtpd-devel
|
|
#OPENSMTP_DEVEL_RUN_DEPENDS= smtpctl:mail/opensmtpd-devel
|
|
BUILD_DEPENDS= smtpctl:mail/opensmtpd
|
|
RUN_DEPENDS= smtpctl:mail/opensmtpd
|
|
|
|
.if empty(SLAVE_PORT)
|
|
OPTIONS_GROUP= TABLE QUEUE SCHEDULER
|
|
OPTIONS_GROUP_QUEUE= QUEUE_RAM
|
|
OPTIONS_GROUP_SCHEDULER= SCHEDULER_RAM
|
|
OPTIONS_GROUP_TABLE= TABLE_LDAP TABLE_MYSQL TABLE_PASSWD TABLE_PGSQL TABLE_REDIS TABLE_SOCKETMAP TABLE_SQLITE
|
|
OPTIONS_DEFAULT= ${OPTIONS_GROUP_TABLE}
|
|
|
|
# Groups
|
|
QUEUE_DESC= EXPERIMENTAL QUEUES
|
|
SCHEDULER_DESC= EXPERIMENTAL SCHEDULERS
|
|
TABLE_DESC= BASE TABLES
|
|
|
|
# Queues
|
|
QUEUE_RAM_DESC= The queue-ram
|
|
|
|
# Schedulers
|
|
SCHEDULER_RAM_DESC= The scheduler-ram
|
|
|
|
# Tables
|
|
TABLE_LDAP_DESC= LDAP table support
|
|
TABLE_MYSQL_DESC= MySQL table support
|
|
TABLE_PASSWD_DESC= passwd(5) table support
|
|
TABLE_PGSQL_DESC= PgSQL table support
|
|
TABLE_REDIS_DESC= REDIS table support
|
|
TABLE_SOCKETMAP_DESC= Socketmap protocol support
|
|
TABLE_SQLITE_DESC= SQLite table support
|
|
|
|
INSTALL_DIR= ${LOCALBASE}/libexec/opensmtpd
|
|
|
|
NO_ARCH= yes
|
|
|
|
# Queues
|
|
QUEUE_RAM_RUN_DEPENDS= ${INSTALL_DIR}/queue-ram:mail/opensmtpd-extras-queue-ram
|
|
|
|
# Schedulers
|
|
SCHEDULER_RAM_RUN_DEPENDS= ${INSTALL_DIR}/scheduler-ram:mail/opensmtpd-extras-scheduler-ram
|
|
|
|
# Tables
|
|
TABLE_LDAP_RUN_DEPENDS= ${INSTALL_DIR}/table-ldap:mail/opensmtpd-extras-table-ldap
|
|
TABLE_MYSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-mysql:mail/opensmtpd-extras-table-mysql
|
|
TABLE_PASSWD_RUN_DEPENDS= ${INSTALL_DIR}/table-passwd:mail/opensmtpd-extras-table-passwd
|
|
TABLE_PGSQL_RUN_DEPENDS= ${INSTALL_DIR}/table-postgres:mail/opensmtpd-extras-table-postgresql
|
|
TABLE_REDIS_RUN_DEPENDS= ${INSTALL_DIR}/table-redis:mail/opensmtpd-extras-table-redis
|
|
TABLE_SOCKETMAP_RUN_DEPENDS= ${INSTALL_DIR}/table-socketmap:mail/opensmtpd-extras-table-socketmap
|
|
TABLE_SQLITE_RUN_DEPENDS= ${INSTALL_DIR}/table-sqlite:mail/opensmtpd-extras-table-sqlite
|
|
|
|
#.else
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|