1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/mail/teapop/Makefile
2003-01-04 15:53:39 +00:00

64 lines
1.4 KiB
Makefile

# New ports collection makefile for: teapop
# Date created: 18 May 2000
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= teapop
PORTVERSION= 0.3.5
CATEGORIES= mail
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
http://www.toontown.org/pub/teapop/
MAINTAINER= ports@FreeBSD.org
.if defined(WITH_PGSQL)
POSTGRESQL_PORT?= databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
.endif
.if defined(WITH_MYSQL)
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.if defined(WITH_DRAC)
BUILD_DEPENDS= ${PREFIX}/lib/libdrac.a:${PORTSDIR}/mail/drac
.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-flock
.if defined(WITHOUT_APOP)
CONFIGURE_ARGS+= --disable-apop
.endif
.if defined(WITHOUT_VPOP)
CONFIGURE_ARGS+= --disable-vpop
.endif
.if defined(WITH_PGSQL)
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql
.endif
.if defined(WITH_MYSQL)
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.endif
.if defined(WITH_DRAC)
CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \
--with-dracinc=${PREFIX}/include
.endif
MAN8= teapop.8
post-install:
@${ECHO} " "
@${ECHO} "------------------------------------------------------------------------"
@${ECHO} "===> Be sure to copy ${LOCALBASE}/etc/teapop.passwd.sample to"
@${ECHO} "===> ${LOCALBASE}/etc/teapop.passwd before using teapop"
@${ECHO} "------------------------------------------------------------------------"
@${ECHO} " "
.include <bsd.port.mk>