Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
# New ports collection makefile for: mailman
|
|
|
|
# Date created: 10 July 2000
|
|
|
|
# Whom: n_hibma@qubesoft.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mailman
|
2002-07-22 16:29:09 +02:00
|
|
|
PORTVERSION= 2.0.12
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
CATEGORIES= mail
|
2001-12-06 08:45:02 +01:00
|
|
|
MASTER_SITES= http://www.list.org/ \
|
|
|
|
${MASTER_SITE_GNU} \
|
2001-03-13 12:19:58 +01:00
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2000-11-19 16:06:10 +01:00
|
|
|
MASTER_SITE_SUBDIR= mailman
|
2001-12-06 08:45:02 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2001-12-06 08:45:02 +01:00
|
|
|
MAINTAINER= wjv@FreeBSD.org
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2002-05-09 14:50:27 +02:00
|
|
|
.if defined(WITH_APACHE2)
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2
|
|
|
|
.else
|
2001-03-13 12:57:02 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
|
2002-05-09 14:50:27 +02:00
|
|
|
.endif
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2001-01-08 11:04:49 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_PYTHON= yes
|
2002-02-20 10:09:44 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${MAILMANDIR} --with-python=${PYTHON_CMD} \
|
2002-05-09 14:50:27 +02:00
|
|
|
--with-username=${MM_USERNAME} \
|
|
|
|
--with-groupname=${MM_GROUPNAME} \
|
2002-02-20 10:09:44 +01:00
|
|
|
--with-mail-gid=${MAIL_GID} --with-cgi-gid=${CGI_GID}
|
2002-02-19 14:58:55 +01:00
|
|
|
PKGOPTS= ${FILESDIR}/pkg-opts
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2002-02-13 10:07:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-02-19 14:58:55 +01:00
|
|
|
# The Mailman port supports a number of variables that may be tweaked at
|
|
|
|
# build time. Getting the values of some of them right is crucial!
|
|
|
|
# Perform a "make options" to see more information on these variables.
|
2002-02-08 15:04:37 +01:00
|
|
|
#
|
2002-05-09 14:50:27 +02:00
|
|
|
MM_USERNAME?= mailman
|
|
|
|
MM_USERID?= 91
|
|
|
|
MM_GROUPNAME?= ${MM_USERNAME}
|
|
|
|
MM_GROUPID?= ${MM_USERID}
|
|
|
|
MM_DIR?= mailman
|
2002-02-13 10:07:06 +01:00
|
|
|
.if ${OSVERSION} >= 450000
|
|
|
|
MAIL_GID?= 26
|
|
|
|
.else
|
2001-12-06 08:45:02 +01:00
|
|
|
MAIL_GID?= 1
|
2002-02-13 10:07:06 +01:00
|
|
|
.endif
|
2001-12-06 08:45:02 +01:00
|
|
|
CGI_GID?= 80
|
2002-05-09 14:50:27 +02:00
|
|
|
IMGDIR= www/icons
|
2002-02-20 10:09:44 +01:00
|
|
|
#
|
|
|
|
# End of user-configurable variables.
|
2002-02-08 15:04:37 +01:00
|
|
|
|
2002-05-09 14:50:27 +02:00
|
|
|
MAILMANDIR= ${PREFIX}/${MM_DIR}
|
2001-12-06 08:45:02 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2002-02-08 15:04:37 +01:00
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
2002-02-11 15:24:46 +01:00
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
2002-05-09 14:50:27 +02:00
|
|
|
PLIST_SUB= MMDIR=${MM_DIR} MMGRP=${MM_GROUPNAME} IMGDIR=${IMGDIR}
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2002-02-19 14:58:55 +01:00
|
|
|
options:
|
|
|
|
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
|
|
|
|
@ ${PERL} -ne '/^#/ || /^\s/ && print || \
|
|
|
|
print sprintf "* %s [%s]\n %s", split(/\|/)' ${PKGOPTS}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@ ${TEST} -r ${PKGOPTS} && \
|
|
|
|
(${ECHO_MSG} '-------------------------------------------------------------------------'; \
|
|
|
|
${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
|
|
|
|
${ECHO_MSG} '-------------------------------------------------------------------------')
|
|
|
|
.endif
|
|
|
|
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
pre-configure:
|
2002-05-09 14:50:27 +02:00
|
|
|
@ ${SED} \
|
|
|
|
-e 's#%%USER%%#${MM_USERNAME}#g' -e 's#%%UID%%#${MM_USERID}#g' \
|
|
|
|
-e 's#%%GROUP%%#${MM_GROUPNAME}#g' -e 's#%%GID%%#${MM_GROUPID}#g' \
|
2002-02-08 15:04:37 +01:00
|
|
|
-e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' pkg-install > \
|
|
|
|
${PKGINSTALL}
|
2002-02-19 14:58:55 +01:00
|
|
|
# Mailman's configure script needs the "mailman" user/group to exist.
|
2002-02-08 15:04:37 +01:00
|
|
|
@ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2001-12-06 08:45:02 +01:00
|
|
|
post-configure:
|
2002-05-09 14:50:27 +02:00
|
|
|
@ ${SED} -e 's#%%USER%%#${MM_USERNAME}#g' \
|
|
|
|
-e 's#%%GROUP%%#${MM_GROUPNAME}#g' \
|
2002-02-11 15:24:46 +01:00
|
|
|
-e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' pkg-deinstall > \
|
|
|
|
${PKGDEINSTALL}
|
2001-12-06 08:45:02 +01:00
|
|
|
@ ${SED} -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' \
|
2002-02-11 15:24:46 +01:00
|
|
|
-e 's#%%DOCSDIR%%#${DOCSDIR}#g' pkg-message > ${PKGMESSAGE}
|
2001-12-06 08:45:02 +01:00
|
|
|
|
2002-02-19 14:58:55 +01:00
|
|
|
pre-install:
|
|
|
|
@ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
2001-12-06 08:45:02 +01:00
|
|
|
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
post-install:
|
2002-02-11 15:24:46 +01:00
|
|
|
.for dir in cron scripts
|
|
|
|
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MAILMANDIR}/${dir}
|
|
|
|
.endfor
|
2002-05-09 14:50:27 +02:00
|
|
|
@ ${CHGRP} -R ${MM_GROUPNAME} ${MAILMANDIR}
|
|
|
|
@ ${MKDIR} ${PREFIX}/${IMGDIR}
|
2002-02-20 10:09:44 +01:00
|
|
|
.for imgfile in mailman.jpg PythonPowered.png gnu-head-tiny.jpg
|
2002-05-09 14:50:27 +02:00
|
|
|
@ ${CP} ${MAILMANDIR}/icons/${imgfile} ${PREFIX}/${IMGDIR}
|
2002-02-20 10:09:44 +01:00
|
|
|
.endfor
|
2002-05-09 14:50:27 +02:00
|
|
|
@ uudecode -p ${FILESDIR}/powerlogo.gif.uue > \
|
|
|
|
${PREFIX}/${IMGDIR}/powerlogo.gif
|
2001-01-08 11:04:49 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-11 15:24:46 +01:00
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
|
|
.for docfile in BUGS FAQ INSTALL NEWS README* UPGRADING
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
2001-01-08 11:04:49 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
2002-02-19 14:58:55 +01:00
|
|
|
@ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2001-12-06 08:45:02 +01:00
|
|
|
.if !defined(BATCH)
|
|
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 03:16:02 +02:00
|
|
|
|
2002-02-13 10:07:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|