2003-12-22 12:07:07 +01:00
|
|
|
# New ports collection makefile for: teapop-devel
|
|
|
|
# Date created: 7/08/2003
|
|
|
|
# Whom: sheepkiller@cultdeadsheep.org
|
2000-07-10 17:33:16 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= teapop
|
2003-12-22 12:07:07 +01:00
|
|
|
PORTVERSION= 20030414
|
2003-08-21 07:29:11 +02:00
|
|
|
CATEGORIES= mail ipv6
|
2003-12-22 12:07:07 +01:00
|
|
|
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/snapshots/ \
|
|
|
|
http://www.toontown.org/pub/teapop/snapshots/
|
2000-07-10 17:33:16 +02:00
|
|
|
|
2002-06-30 23:48:41 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Yet another RFC1939 compliant POP3 server
|
2000-07-10 17:33:16 +02:00
|
|
|
|
2003-08-21 07:29:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-flock
|
2000-07-10 17:33:16 +02:00
|
|
|
|
2004-02-07 17:29:17 +01:00
|
|
|
LATEST_LINK= teapop-devel
|
|
|
|
|
2003-12-22 12:07:07 +01:00
|
|
|
##
|
2003-08-21 07:29:11 +02:00
|
|
|
## Available knobs:
|
|
|
|
## General options
|
|
|
|
## WITHOUT_IPV6: disable IPv6 support
|
2003-12-22 12:07:07 +01:00
|
|
|
## WITH_TCPWRAPPERS: enable the use of tcp_wrappers
|
2003-08-21 07:29:11 +02:00
|
|
|
## WITHOUT_APOP: don't allow users to authenticate with APOP
|
|
|
|
## WITHOUT_VPOP: don't support virtual domains
|
|
|
|
## WITH_DRAC: enable support for DRAC
|
|
|
|
## WITH_POPAUTHFILE: enable support for a popauth file
|
|
|
|
## POPAUTH_FILE: popauth file name (default : ${PREFIX}/etc/teapop.popauth)
|
2000-12-04 06:50:25 +01:00
|
|
|
|
2003-08-21 07:29:11 +02:00
|
|
|
POPAUTH_FILE?= ${PREFIX}/etc/teapop.popauth
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_IPV6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2001-02-09 21:35:19 +01:00
|
|
|
.endif
|
|
|
|
|
2003-12-22 12:07:07 +01:00
|
|
|
.if defined(WITH_TCPWRAPPERS)
|
|
|
|
CONFIGURE_ARGS+= --enable-tcp_wrappers
|
2003-08-21 07:29:11 +02:00
|
|
|
.endif
|
2000-07-10 17:33:16 +02:00
|
|
|
|
|
|
|
.if defined(WITHOUT_APOP)
|
|
|
|
CONFIGURE_ARGS+= --disable-apop
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_VPOP)
|
|
|
|
CONFIGURE_ARGS+= --disable-vpop
|
|
|
|
.endif
|
|
|
|
|
2003-08-21 07:29:11 +02:00
|
|
|
.if defined(WITH_DRAC)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_POPAUTHFILE)
|
|
|
|
CONFIGURE_ARGS+= --enable-popauth-file=${POPAUTH_FILE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN8= teapop.8
|
|
|
|
|
2003-12-22 12:07:07 +01:00
|
|
|
##
|
2003-08-21 07:29:11 +02:00
|
|
|
## Authentication backend
|
2003-08-28 14:19:12 +02:00
|
|
|
## WITH_OPENLDAP: add support for authentication through OpenLDAP server
|
2003-08-21 07:29:11 +02:00
|
|
|
## WITH_MYSQL: enable support for authentication from MySQL database
|
|
|
|
## WITH_PGSQL: enable support for authentication from PostgreSQL database
|
2003-12-22 12:07:07 +01:00
|
|
|
##
|
2003-08-21 07:29:11 +02:00
|
|
|
|
2000-07-10 17:33:16 +02:00
|
|
|
.if defined(WITH_PGSQL)
|
2003-08-21 07:29:11 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pgsql
|
|
|
|
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
2000-07-10 17:33:16 +02:00
|
|
|
.endif
|
|
|
|
|
2000-12-04 06:50:25 +01:00
|
|
|
.if defined(WITH_MYSQL)
|
2003-08-28 14:19:12 +02:00
|
|
|
USE_MYSQL= YES
|
2003-08-21 07:29:11 +02:00
|
|
|
CONFIGURE_ARGS+= --with-mysql
|
2000-12-04 06:50:25 +01:00
|
|
|
.endif
|
|
|
|
|
2003-08-28 14:19:12 +02:00
|
|
|
.if defined(WITH_OPENLDAP)
|
|
|
|
USE_OPENLDAP= YES
|
2003-08-21 07:29:11 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ldap=openldap
|
2001-02-09 21:35:19 +01:00
|
|
|
.endif
|
|
|
|
|
2003-08-21 07:29:11 +02:00
|
|
|
show-options:
|
2003-12-22 12:07:07 +01:00
|
|
|
@${SED} -ne 's/^##//p' ${.CURDIR}/Makefile
|
2000-07-10 17:33:16 +02:00
|
|
|
|
2001-03-11 02:08:47 +01:00
|
|
|
post-install:
|
2003-09-27 02:50:09 +02:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "------------------------------------------------------------------------"
|
|
|
|
@${ECHO_MSG} "===> Be sure to copy ${LOCALBASE}/etc/teapop.passwd.sample to"
|
|
|
|
@${ECHO_MSG} "===> ${LOCALBASE}/etc/teapop.passwd before using teapop"
|
|
|
|
@${ECHO_MSG} "------------------------------------------------------------------------"
|
|
|
|
@${ECHO_MSG} ""
|
2001-03-11 02:08:47 +01:00
|
|
|
|
2003-08-28 14:19:12 +02:00
|
|
|
.include <bsd.port.mk>
|