mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
224a6052af
o bump PORTREVISION o sanitize MASTER_SITES o added several flags (defined checks) to enable active slave port control on what they inherit o add extra enhancement patches, these can be inherited too: - WITH_QMAILQUEUE_PATCH: qmailqueue-patch - WITH_BIG_TODO_PATCH: big-todo.103.patch - WITH_BIG_CONCURRENCY_PATCH: big-concurrency.patch - WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT default: 509 o add patches checksum to distinfo o added MASTER_SITE_QMAIL for internal use o additional copies of slave qmail patches are now housed at MASTER_SITE_LOCAL, PATCH_SITE_SUBDIR=lioux because these patches only have ONE PATCH_SITES source each - qmail-ldap-1.03-20010201.patch.gz (qmail-ldap) - qmail-mysql-1.1.1.patch (qmail-mysql) - tls.patch (qmail-tls) o turn all absolute references to both binaries and FreeBSD configuration files into VARs: better maintability o s/yetanotherone-/slaveport-/: that is the correct nomenclature o ${LN} should use -sf instead of plain -s o typo fix: QMail -> qmail * qmail-ldap port o bump PORTREVISION in sync with master port bump o minor changes to comply to recent changes to the master port o block the WITH_BIG_CONCURRENCY_PATCH, it does not like the qmail-ldap patch o enable SMTP TLS support with WITH_TLS - the PKGNAMESUFFIX changes to -ldap-with_tls - let it know the location of QMAIL_TLS_PORT - add certificate and certificate-req; in fact, we are inheriting qmail-tls targets o s/yetanotherone-/slaveport-/: that is the correct nomenclature o tabulate better the WITH_* advertisement messages o add appropriate message to PKGMESSAGE about the new certificate targets following the qmail-tls port o nomenclature fix: ^ldap- -> ^qmail-ldap- * qmail-mysql port o bump PORTREVISION in sync with master port bump o block the WITH_QMAILQUEUE_PATCH, it does not like the qmail-mysql patch o s/yetanotherone-/slaveport-/: that is the correct nomenclature * qmail-tls port o bump PORTREVISION in sync with master port bump o minor changes to comply to recent changes to the master port o s/yetanotherone-/slaveport-/: that is the correct nomenclature o nomenclature fix: ^tls- -> ^qmail-tls-
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: qmail-mysql
|
|
# Date created: 6 Feb 2001
|
|
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qmail
|
|
PORTVERSION= ${QMAIL_VERSION}.${MYSQL_PATCH_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
PKGNAMESUFFIX= -mysql
|
|
|
|
PATCH_SITES+= http://iain.cx/unix/qmail/download/
|
|
PATCHFILES+= qmail-mysql-${MYSQL_PATCH_VERSION}.patch
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
|
|
|
# patches from the master port that brake this one are now allowed
|
|
MAIN_QMAIL_PORT_WITH_QMAILQUEUE_PATCH_BARRIER= yes
|
|
|
|
MYSQL_PATCH_VERSION= 1.1.1
|
|
|
|
# Using default from master port, i.e., /var/qmail
|
|
PREFIX?= ${QMAIL_PORT_PREFIX}
|
|
#PREFIX= /var/qmail-mysql
|
|
|
|
.if !defined(PRE_MK_INCLUDED)
|
|
.include <bsd.port.pre.mk>
|
|
.endif
|
|
|
|
#QMAIL_PORT= ${PORTSDIR}/mail/qmail
|
|
QMAIL_PORT= ${.CURDIR}/../qmail
|
|
QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX
|
|
|
|
# Yet anther ugly hack (works due to code inside the main qmail port)
|
|
slaveport-post-patch: qmail-mysql-post-patch
|
|
|
|
qmail-mysql-post-patch:
|
|
@${PERL} -pi -ne \
|
|
"s|/usr/local/mysql/lib|${LOCALBASE}/lib|;s|/usr/local/mysql/include|${LOCALBASE}/include|;s|-lm|-lm -lz|" \
|
|
${WRKSRC}/Makefile
|
|
|
|
# Local overrides
|
|
MASTERDIR= ${QMAIL_PORT}
|
|
PKGDIR_LOCAL= ${.CURDIR}
|
|
COMMENT= ${PKGDIR_LOCAL}/pkg-comment
|
|
DESCR= ${PKGDIR_LOCAL}/pkg-descr
|
|
PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message
|
|
|
|
PRE_MK_INCLUDED= yes
|
|
|
|
.include "${MASTERDIR}/Makefile"
|