pkgsrc/mail/distribute/Makefile

57 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2004/12/06 22:34:35 minskim Exp $
# FreeBSD: ports/mail/distribute/Makefile,v 1.2 1999/08/25 06:50:06 obrien Exp
1999-12-26 18:16:26 +01:00
#
DISTNAME= distribute-2.1-pl19
PKGNAME= distribute-2.1.26
1999-12-26 18:16:26 +01:00
CATEGORIES= mail
MASTER_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/
PATCH_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/BETA/
PATCHFILES= patch.20.gz patch.21e.gz patch.22e.gz patch.23e.gz \
patch.24e.gz patch.25e.gz patch.26e.gz
1999-12-26 18:16:26 +01:00
MAINTAINER= itojun@itojun.org
# in japanese
HOMEPAGE= http://www.foretune.co.jp/people/shigeya/distribute/
COMMENT= Mail dispatcher for mailing list. Fits nicely with majordomo
1999-12-26 18:16:26 +01:00
WRKSRC= ${WRKDIR}/distribute-pl19
2000-08-26 07:26:19 +02:00
USE_PERL5= YES
1999-12-26 18:16:26 +01:00
MAN1= distribute.1
DIST_SUBDIR= distribute
PATCH_DIST_STRIP= -p1
1999-12-26 18:16:26 +01:00
# customize below if you would like to
# mail/majordomo likes this
MAJORDOMO_DIR= /home/majordom
1999-12-26 18:16:26 +01:00
MAJORDOMO_LIST_DIR= ${MAJORDOMO_DIR}/lists
# just as example, you may disagree with these
MAILINGLIST_DIR= /var/mail-list
1999-12-26 18:16:26 +01:00
ARCHIVE_DIR= /var/spool/mail-list
DEF_DOMAINNAME?= your.domain.here
1999-12-26 18:16:26 +01:00
2000-02-05 20:50:34 +01:00
MAKE_ENV+= DEFAULTCONFIG="-DDEF_SEQ_PATH=\\\"${MAILINGLIST_DIR}\\\" \
-DDEF_RECIPIENT_PATH=\\\"${MAILINGLIST_DIR}\\\" \
-DDEF_MAJORDOMO_RECIPIENT_PATH=\\\"${MAJORDOMO_LIST_DIR}\\\" \
-DDEF_DOMAINNAME=\\\"${DEF_DOMAINNAME}\\\" \
-DDEF_ARCHIVE_PATH=\\\"${ARCHIVE_DIR}\\\"" \
1999-12-26 18:16:26 +01:00
INSTALL="${INSTALL}" \
INSTALL_MAN="${INSTALL_MAN}"
pre-build:
${TOUCH} ${WRKSRC}/logging.h ${WRKSRC}/strsep.c
post-build: mmessage
post-install: mmessage
mmessage::
1999-12-26 18:16:26 +01:00
@${ECHO} "===> distribute was compiled with the following configuration:"
@${ECHO} " membership file directory: ${MAILINGLIST_DIR}"
@${ECHO} " membership file directory: ${MAJORDOMO_LIST_DIR} (for majordomo)"
@${ECHO} " archiving directory: ${ARCHIVE_DIR}"
2002-07-02 12:55:22 +02:00
@${ECHO} " if necessary, override them and perform compilation again."
1999-12-26 18:16:26 +01:00
@${ECHO} " there's no way to override them at runtime."
.include "../../mk/bsd.pkg.mk"