openbsd-ports/mail/mailman/Makefile
shell 9e94be85d0 Initial import of mailman
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
---

This is GNU Mailman, a mailing list management system distributed
under the GNU Public License (GPL).

Mailman has most of the standard features you'd expect in a
mailing list manager, and more.
2001-08-29 02:13:04 +00:00

61 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/08/29 02:13:04 shell Exp $
COMMENT= "mailing list manager with web interface"
DISTNAME= mailman-2.0.6
CATEGORIES= mail
NEED_VERSION= 1.448
HOMEPAGE= http://www.gnu.org/software/mailman/mailman.html
MAINTAINER= Nikolay Sturm <nikolay.sturm@desy.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= mailman
EXTRACT_SUFX= .tgz
BUILD_DEPENDS= python::lang/python
RUN_DEPENDS= ${BUILD_DEPENDS}
MMDOC= ${PREFIX}/share/doc/mailman
MMEXAMPLES= ${PREFIX}/share/examples/mailman
MMHOME= ${PREFIX}/lib/mailman
MMSPOOL= /var/spool/mailman
FAKE_FLAGS= prefix="${WRKINST}${MMHOME}" \
var_prefix="${WRKINST}${MMSPOOL}" \
MAKE="make prefix=${WRKINST}${MMHOME} \
var_prefix=${WRKINST}${MMSPOOL}" \
DIRSETGID=":"
CONFIGURE_STYLE= simple
CONFIGURE_ARGS+= --with-var-prefix="${MMSPOOL}" \
--prefix="${MMHOME}"
FLAVORS=postfix
FLAVOR?=
.if ${FLAVOR:L:Mpostfix}
CONFIGURE_ARGS+=--with-mail-gid=nobody
.else
CONFIGURE_ARGS+=--with-mail-gid=daemon
.endif
post-install:
@${INSTALL_DATA_DIR} ${MMDOC}
@${INSTALL_DATA_DIR} ${MMEXAMPLES}
@for file in FAQ NEWS README* UPGRADING; do \
${INSTALL_DATA} ${WRKDIST}/$$file ${MMDOC}; \
done
@${INSTALL_DATA} files/README.OpenBSD ${MMDOC}
@for file in filters/bowa-strip misc/pending_subscriptions.db; do \
${INSTALL_DATA} ${WRKDIST}/$$file ${MMEXAMPLES}; \
done
.include <bsd.port.mk>