1 # $NetBSD: Makefile,v 1.3 2000/02/05 19:50:34 wiz Exp $
2 # FreeBSD: ports/mail/distribute/Makefile,v 1.2 1999/08/25 06:50:06 obrien Exp
5 DISTNAME= distribute-2.1-pl19
6 PKGNAME= distribute-2.1.26
8 MASTER_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/
10 PATCH_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/BETA/
11 PATCHFILES= patch.20.gz patch.21e.gz patch.22e.gz patch.23e.gz \
12 patch.24e.gz patch.25e.gz patch.26e.gz
14 MAINTAINER= itojun@itojun.org
16 HOMEPAGE= http://www.foretune.co.jp/distribute/
20 WRKSRC= ${WRKDIR}/distribute-pl19
22 DIST_SUBDIR= distribute
23 # Compile time configuration required.
26 # customize below if you would like to
27 # mail/majordomo likes this
28 MAJORDOMO_DIR= /home/majordom
29 MAJORDOMO_LIST_DIR= ${MAJORDOMO_DIR}/lists
30 # just as example, you may disagree with these
31 MAILINGLIST_DIR= /var/mail-list
32 ARCHIVE_DIR= /var/spool/mail-list
33 DEF_DOMAINNAME?= your.domain.here
35 MAKE_ENV+= DEFAULTCONFIG="-DDEF_SEQ_PATH=\\\"${MAILINGLIST_DIR}\\\" \
36 -DDEF_RECIPIENT_PATH=\\\"${MAILINGLIST_DIR}\\\" \
37 -DDEF_MAJORDOMO_RECIPIENT_PATH=\\\"${MAJORDOMO_LIST_DIR}\\\" \
38 -DDEF_DOMAINNAME=\\\"${DEF_DOMAINNAME}\\\" \
39 -DDEF_ARCHIVE_PATH=\\\"${ARCHIVE_DIR}\\\"" \
40 INSTALL="${INSTALL}" \
41 INSTALL_MAN="${INSTALL_MAN}"
44 ${TOUCH} ${WRKSRC}/logging.h ${WRKSRC}/strsep.c
49 @${ECHO} "===> distribute was compiled with the following configuration:"
50 @${ECHO} " membership file directory: ${MAILINGLIST_DIR}"
51 @${ECHO} " membership file directory: ${MAJORDOMO_LIST_DIR} (for majordomo)"
52 @${ECHO} " archiving directory: ${ARCHIVE_DIR}"
53 @${ECHO} " if necessery, override them and perform compilation again."
54 @${ECHO} " there's no way to override them at runtime."
56 .include "../../mk/bsd.pkg.mk"