2011-01-29 18:16:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2011/01/29 17:16:33 spz Exp $
|
1999-12-26 18:16:26 +01:00
|
|
|
|
|
|
|
DISTNAME= distribute-2.1-pl19
|
1999-12-26 18:20:31 +01:00
|
|
|
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/
|
2006-10-04 23:47:16 +02:00
|
|
|
# AWOL
|
1999-12-26 18:16:26 +01:00
|
|
|
|
1999-12-26 18:20:31 +01:00
|
|
|
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
|
|
|
|
2007-11-17 14:40:15 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-12-26 18:20:31 +01:00
|
|
|
# in japanese
|
2006-10-04 23:47:16 +02:00
|
|
|
# HOMEPAGE= http://www.foretune.co.jp/people/shigeya/distribute/
|
|
|
|
# AWOL
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Mail dispatcher for mailing list. Fits nicely with majordomo
|
1999-12-26 18:16:26 +01:00
|
|
|
|
2010-02-04 02:57:26 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man1
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/distribute-pl19
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2000-02-13 20:39:50 +01:00
|
|
|
|
1999-12-26 18:16:26 +01:00
|
|
|
MAN1= distribute.1
|
|
|
|
DIST_SUBDIR= distribute
|
2004-12-06 23:34:35 +01:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-12-26 18:16:26 +01:00
|
|
|
|
|
|
|
# customize below if you would like to
|
2011-01-29 18:16:32 +01:00
|
|
|
# this needs to be the same as majordomo uses
|
|
|
|
MAJORDOMO_HOMEDIR?= ${VARBASE}/majordomo
|
|
|
|
MAJORDOMO_LIST_DIR= ${MAJORDOMO_HOMEDIR}/lists
|
1999-12-26 18:20:31 +01:00
|
|
|
# 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
|
1999-12-26 18:20:31 +01:00
|
|
|
DEF_DOMAINNAME?= your.domain.here
|
1999-12-26 18:16:26 +01:00
|
|
|
|
2005-03-07 10:53:33 +01:00
|
|
|
MAKE_ENV+= DEFAULTCONFIG='-DDEF_SEQ_PATH="\"${MAILINGLIST_DIR}\"" \
|
|
|
|
-DDEF_RECIPIENT_PATH="\"${MAILINGLIST_DIR}\"" \
|
2005-03-07 11:01:12 +01:00
|
|
|
-DDEF_MAJORDOMO_RECIPIENT_PATH="\"${MAJORDOMO_LIST_DIR}\"" \
|
2005-03-07 10:53:33 +01:00
|
|
|
-DDEF_DOMAINNAME="\"${DEF_DOMAINNAME}\"" \
|
|
|
|
-DDEF_ARCHIVE_PATH="\"${ARCHIVE_DIR}\""' \
|
2005-12-05 21:49:47 +01:00
|
|
|
INSTALL=${INSTALL:Q} \
|
|
|
|
INSTALL_MAN=${INSTALL_MAN:Q}
|
1999-12-26 18:16:26 +01:00
|
|
|
|
1999-12-26 18:20:31 +01:00
|
|
|
pre-build:
|
|
|
|
${TOUCH} ${WRKSRC}/logging.h ${WRKSRC}/strsep.c
|
|
|
|
|
2001-01-30 17:16:33 +01:00
|
|
|
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."
|
|
|
|
|
2005-11-08 14:25:38 +01:00
|
|
|
.include "../../devel/sysexits/buildlink3.mk"
|
1999-12-26 18:20:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|