1998-12-24 02:27:15 -05:00
|
|
|
# New ports collection makefile for: maildrop
|
|
|
|
# Date created: 16 November 1998
|
|
|
|
# Whom: Tom Hukins <tom@eborcom.com>
|
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1998-12-24 02:27:15 -05:00
|
|
|
#
|
|
|
|
|
2000-04-13 16:01:08 -04:00
|
|
|
PORTNAME= maildrop
|
2001-02-21 16:39:34 -05:00
|
|
|
PORTVERSION= 1.3.0
|
1998-12-24 02:27:15 -05:00
|
|
|
CATEGORIES= mail
|
2001-02-21 16:39:34 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= courier
|
1998-12-24 02:27:15 -05:00
|
|
|
|
|
|
|
MAINTAINER= tom@eborcom.com
|
|
|
|
|
1999-03-14 20:32:32 -05:00
|
|
|
# Maildrop is usually installed with gdbm extensions. If you do not
|
|
|
|
# want these extensions installed, NO_GDBM must be defined.
|
|
|
|
#
|
|
|
|
.if !defined(NO_GDBM)
|
2000-03-30 16:07:58 -05:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
|
1999-03-14 20:32:32 -05:00
|
|
|
.endif
|
|
|
|
|
2001-02-21 16:39:34 -05:00
|
|
|
ALL_TARGET= all
|
1999-11-23 03:41:13 -05:00
|
|
|
INSTALL_TARGET= install-strip
|
1998-12-24 02:27:15 -05:00
|
|
|
|
|
|
|
# Maildrop will be installed with suid permissions for MAILDROP_SUID,
|
|
|
|
# and sgid permissions for MAILDROP_SGID. If undefined, these values
|
|
|
|
# default to "root" and "mail" respectively, which should be suitable
|
|
|
|
# for most systems.
|
|
|
|
#
|
1999-03-14 20:32:32 -05:00
|
|
|
MAILDROP_SUID?= root
|
|
|
|
MAILDROP_SGIG?= mail
|
1998-12-24 02:27:15 -05:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-syslog=1 \
|
1999-03-14 20:32:32 -05:00
|
|
|
--with-docdir="${PREFIX}/share/doc/maildrop" \
|
|
|
|
--with-etcdir="${PREFIX}/etc" \
|
1998-12-24 02:27:15 -05:00
|
|
|
--enable-maildrop-uid="${MAILDROP_SUID}" \
|
|
|
|
--enable-maildrop-gid="${MAILDROP_SGID}"
|
1999-12-24 13:39:48 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" \
|
|
|
|
LIBS="-L${PREFIX}/lib"
|
1998-12-24 02:27:15 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2001-02-21 16:39:34 -05:00
|
|
|
INSTALL_TARGET= install-maildrop install-man
|
1998-12-24 02:27:15 -05:00
|
|
|
.else
|
2001-02-21 16:39:34 -05:00
|
|
|
MAN1= dotlock.1 maildirmake.1 maildrop.1 makemime.1 reformail.1 reformime.1
|
1999-03-14 20:32:32 -05:00
|
|
|
MAN5= maildropex.5 maildropfilter.5 maildropgdbm.5
|
2001-02-21 16:39:34 -05:00
|
|
|
MAN8= maildirquota.8 deliverquota.8
|
1998-12-24 02:27:15 -05:00
|
|
|
.endif
|
|
|
|
|
1999-03-14 20:32:32 -05:00
|
|
|
.if defined(NO_GDBM)
|
2001-02-21 16:39:34 -05:00
|
|
|
CONFIGURE_ARGS+= --without-db
|
1999-03-14 20:32:32 -05:00
|
|
|
.endif
|
1998-12-24 02:27:15 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|