mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
3834cc1b28
any arguments but I'm not sure what I should give it (it's called from pre-configure!) so I'll leave it alone.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: vpopmail
|
|
# Date created: 21 Sep 2000
|
|
# Whom: Neil Blakey-Milner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vpopmail
|
|
PORTVERSION= 4.9
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.inter7.com/vpopmail/
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
|
|
${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
|
|
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
|
|
${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_GMAKE= YES
|
|
|
|
CONFIGURE_ARGS= --enable-qmail-dir=${QMAIL_DIR} \
|
|
--enable-tcprules-bin=${LOCALBASE}/bin/tcprules \
|
|
--enable-tcpserver-file=${PREFIX}/vpopmail/etc/tcp.smtp
|
|
|
|
#
|
|
# Attempt to set the location of qmail by a simple check. Override this
|
|
# if your qmail lives elsewhere.
|
|
#
|
|
|
|
.if exists(${LOCALBASE}/qmail/bin/qmail-send)
|
|
QMAIL_DIR?= ${LOCALBASE}/qmail
|
|
.else
|
|
QMAIL_DIR?= /var/qmail
|
|
.endif
|
|
|
|
#
|
|
# This port doesn't honour PREFIX, it honours vpopmail's home directory.
|
|
# Since we create vpopmail if it doesn't exist, we set it so that it
|
|
# does honour PREFIX. -- nbm
|
|
#
|
|
|
|
pre-configure:
|
|
@PKG_PREFIX=${PREFIX}/vpopmail ${PERL5} ${PKGINSTALL}
|
|
|
|
.include <bsd.port.mk>
|