head	1.33;
access;
symbols
	pkgsrc-2026Q1:1.33.0.30
	pkgsrc-2026Q1-base:1.33
	pkgsrc-2025Q4:1.33.0.28
	pkgsrc-2025Q4-base:1.33
	pkgsrc-2025Q3:1.33.0.26
	pkgsrc-2025Q3-base:1.33
	pkgsrc-2025Q2:1.33.0.24
	pkgsrc-2025Q2-base:1.33
	pkgsrc-2025Q1:1.33.0.22
	pkgsrc-2025Q1-base:1.33
	pkgsrc-2024Q4:1.33.0.20
	pkgsrc-2024Q4-base:1.33
	pkgsrc-2024Q3:1.33.0.18
	pkgsrc-2024Q3-base:1.33
	pkgsrc-2024Q2:1.33.0.16
	pkgsrc-2024Q2-base:1.33
	pkgsrc-2024Q1:1.33.0.14
	pkgsrc-2024Q1-base:1.33
	pkgsrc-2023Q4:1.33.0.12
	pkgsrc-2023Q4-base:1.33
	pkgsrc-2023Q3:1.33.0.10
	pkgsrc-2023Q3-base:1.33
	pkgsrc-2023Q2:1.33.0.8
	pkgsrc-2023Q2-base:1.33
	pkgsrc-2023Q1:1.33.0.6
	pkgsrc-2023Q1-base:1.33
	pkgsrc-2022Q4:1.33.0.4
	pkgsrc-2022Q4-base:1.33
	pkgsrc-2022Q3:1.33.0.2
	pkgsrc-2022Q3-base:1.33
	pkgsrc-2022Q2:1.32.0.10
	pkgsrc-2022Q2-base:1.32
	pkgsrc-2022Q1:1.32.0.8
	pkgsrc-2022Q1-base:1.32
	pkgsrc-2021Q4:1.32.0.6
	pkgsrc-2021Q4-base:1.32
	pkgsrc-2021Q3:1.32.0.4
	pkgsrc-2021Q3-base:1.32
	pkgsrc-2021Q2:1.32.0.2
	pkgsrc-2021Q2-base:1.32
	pkgsrc-2021Q1:1.31.0.6
	pkgsrc-2021Q1-base:1.31
	pkgsrc-2020Q4:1.31.0.4
	pkgsrc-2020Q4-base:1.31
	pkgsrc-2020Q3:1.31.0.2
	pkgsrc-2020Q3-base:1.31
	pkgsrc-2020Q2:1.30.0.8
	pkgsrc-2020Q2-base:1.30
	pkgsrc-2020Q1:1.30.0.4
	pkgsrc-2020Q1-base:1.30
	pkgsrc-2019Q4:1.30.0.6
	pkgsrc-2019Q4-base:1.30
	pkgsrc-2019Q3:1.30.0.2
	pkgsrc-2019Q3-base:1.30
	pkgsrc-2019Q2:1.29.0.8
	pkgsrc-2019Q2-base:1.29
	pkgsrc-2019Q1:1.29.0.6
	pkgsrc-2019Q1-base:1.29
	pkgsrc-2018Q4:1.29.0.4
	pkgsrc-2018Q4-base:1.29
	pkgsrc-2018Q3:1.29.0.2
	pkgsrc-2018Q3-base:1.29
	pkgsrc-2018Q2:1.28.0.18
	pkgsrc-2018Q2-base:1.28
	pkgsrc-2018Q1:1.28.0.16
	pkgsrc-2018Q1-base:1.28
	pkgsrc-2017Q4:1.28.0.14
	pkgsrc-2017Q4-base:1.28
	pkgsrc-2017Q3:1.28.0.12
	pkgsrc-2017Q3-base:1.28
	pkgsrc-2017Q2:1.28.0.8
	pkgsrc-2017Q2-base:1.28
	pkgsrc-2017Q1:1.28.0.6
	pkgsrc-2017Q1-base:1.28
	pkgsrc-2016Q4:1.28.0.4
	pkgsrc-2016Q4-base:1.28
	pkgsrc-2016Q3:1.28.0.2
	pkgsrc-2016Q3-base:1.28
	pkgsrc-2016Q2:1.27.0.10
	pkgsrc-2016Q2-base:1.27
	pkgsrc-2016Q1:1.27.0.8
	pkgsrc-2016Q1-base:1.27
	pkgsrc-2015Q4:1.27.0.6
	pkgsrc-2015Q4-base:1.27
	pkgsrc-2015Q3:1.27.0.4
	pkgsrc-2015Q3-base:1.27
	pkgsrc-2015Q2:1.27.0.2
	pkgsrc-2015Q2-base:1.27
	pkgsrc-2015Q1:1.26.0.8
	pkgsrc-2015Q1-base:1.26
	pkgsrc-2014Q4:1.26.0.6
	pkgsrc-2014Q4-base:1.26
	pkgsrc-2014Q3:1.26.0.4
	pkgsrc-2014Q3-base:1.26
	pkgsrc-2014Q2:1.26.0.2
	pkgsrc-2014Q2-base:1.26
	pkgsrc-2014Q1:1.25.0.8
	pkgsrc-2014Q1-base:1.25
	pkgsrc-2013Q4:1.25.0.6
	pkgsrc-2013Q4-base:1.25
	pkgsrc-2013Q3:1.25.0.4
	pkgsrc-2013Q3-base:1.25
	pkgsrc-2013Q2:1.25.0.2
	pkgsrc-2013Q2-base:1.25
	pkgsrc-2013Q1:1.23.0.4
	pkgsrc-2013Q1-base:1.23
	pkgsrc-2012Q4:1.23.0.2
	pkgsrc-2012Q4-base:1.23
	pkgsrc-2012Q3:1.21.0.14
	pkgsrc-2012Q3-base:1.21
	pkgsrc-2012Q2:1.21.0.12
	pkgsrc-2012Q2-base:1.21
	pkgsrc-2012Q1:1.21.0.10
	pkgsrc-2012Q1-base:1.21
	pkgsrc-2011Q4:1.21.0.8
	pkgsrc-2011Q4-base:1.21
	pkgsrc-2011Q3:1.21.0.6
	pkgsrc-2011Q3-base:1.21
	pkgsrc-2011Q2:1.21.0.4
	pkgsrc-2011Q2-base:1.21
	pkgsrc-2011Q1:1.21.0.2
	pkgsrc-2011Q1-base:1.21
	pkgsrc-2010Q4:1.20.0.4
	pkgsrc-2010Q4-base:1.20
	pkgsrc-2010Q3:1.20.0.2
	pkgsrc-2010Q3-base:1.20
	pkgsrc-2010Q2:1.18.0.10
	pkgsrc-2010Q2-base:1.18
	pkgsrc-2010Q1:1.18.0.8
	pkgsrc-2010Q1-base:1.18
	pkgsrc-2009Q4:1.18.0.6
	pkgsrc-2009Q4-base:1.18
	pkgsrc-2009Q3:1.18.0.4
	pkgsrc-2009Q3-base:1.18
	pkgsrc-2009Q2:1.18.0.2
	pkgsrc-2009Q2-base:1.18
	pkgsrc-2009Q1:1.17.0.16
	pkgsrc-2009Q1-base:1.17
	pkgsrc-2008Q4:1.17.0.14
	pkgsrc-2008Q4-base:1.17
	pkgsrc-2008Q3:1.17.0.12
	pkgsrc-2008Q3-base:1.17
	cube-native-xorg:1.17.0.10
	cube-native-xorg-base:1.17
	pkgsrc-2008Q2:1.17.0.8
	pkgsrc-2008Q2-base:1.17
	cwrapper:1.17.0.6
	pkgsrc-2008Q1:1.17.0.4
	pkgsrc-2008Q1-base:1.17
	pkgsrc-2007Q4:1.17.0.2
	pkgsrc-2007Q4-base:1.17
	pkgsrc-2007Q3:1.16.0.6
	pkgsrc-2007Q3-base:1.16
	pkgsrc-2007Q2:1.16.0.4
	pkgsrc-2007Q2-base:1.16
	pkgsrc-2007Q1:1.16.0.2
	pkgsrc-2007Q1-base:1.16
	pkgsrc-2006Q4:1.15.0.6
	pkgsrc-2006Q4-base:1.15
	pkgsrc-2006Q3:1.15.0.4
	pkgsrc-2006Q3-base:1.15
	pkgsrc-2006Q2:1.15.0.2
	pkgsrc-2006Q2-base:1.15
	pkgsrc-2006Q1:1.14.0.4
	pkgsrc-2006Q1-base:1.14
	pkgsrc-2005Q4:1.14.0.2
	pkgsrc-2005Q4-base:1.14
	pkgsrc-2005Q3:1.12.0.2
	pkgsrc-2005Q3-base:1.12
	pkgsrc-2005Q2:1.11.0.2
	pkgsrc-2005Q2-base:1.11
	pkgsrc-2005Q1:1.10.0.12
	pkgsrc-2005Q1-base:1.10
	pkgsrc-2004Q4:1.10.0.10
	pkgsrc-2004Q4-base:1.10
	pkgsrc-2004Q3:1.10.0.8
	pkgsrc-2004Q3-base:1.10
	pkgsrc-2004Q2:1.10.0.6
	pkgsrc-2004Q2-base:1.10
	pkgsrc-2004Q1:1.10.0.4
	pkgsrc-2004Q1-base:1.10
	pkgsrc-2003Q4:1.10.0.2
	pkgsrc-2003Q4-base:1.10
	netbsd-1-6-1:1.9.0.4
	netbsd-1-6-1-base:1.9
	netbsd-1-6:1.9.0.6
	netbsd-1-6-RELEASE-base:1.9
	pkgviews:1.9.0.2
	pkgviews-base:1.9
	buildlink2:1.8.0.2
	buildlink2-base:1.8
	netbsd-1-5-PATCH003:1.8
	netbsd-1-5-PATCH001:1.7
	netbsd-1-5-RELEASE:1.4
	netbsd-1-4-PATCH003:1.4
	netbsd-1-4-PATCH002:1.2
	current19991226:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.33
date	2022.06.28.11.34.21;	author wiz;	state Exp;
branches;
next	1.32;
commitid	D2UoJrTHpoHEANJD;

1.32
date	2021.05.24.19.52.41;	author wiz;	state Exp;
branches;
next	1.31;
commitid	qokaiStTApGMcrUC;

1.31
date	2020.08.31.18.09.57;	author wiz;	state Exp;
branches;
next	1.30;
commitid	7zxRbfOkDOoxbfmC;

1.30
date	2019.08.11.13.21.28;	author wiz;	state Exp;
branches;
next	1.29;
commitid	Ifet9Pg6Qt99ZByB;

1.29
date	2018.08.22.09.45.25;	author wiz;	state Exp;
branches;
next	1.28;
commitid	YLub8g3ofvFGb6PA;

1.28
date	2016.07.09.06.38.29;	author wiz;	state Exp;
branches;
next	1.27;
commitid	dlqnocGpOoXV2Cdz;

1.27
date	2015.06.12.10.50.19;	author wiz;	state Exp;
branches;
next	1.26;
commitid	B4JmCfaVUbiY38py;

1.26
date	2014.05.29.23.36.46;	author wiz;	state Exp;
branches;
next	1.25;
commitid	laryHfkCalgYtuCx;

1.25
date	2013.06.15.06.09.37;	author obache;	state Exp;
branches;
next	1.24;
commitid	TIY9h9EelKYESFTw;

1.24
date	2013.05.31.12.41.14;	author wiz;	state Exp;
branches;
next	1.23;
commitid	hIeXGcx6VfKHwMRw;

1.23
date	2012.10.08.12.19.15;	author asau;	state Exp;
branches;
next	1.22;

1.22
date	2012.10.03.21.56.24;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	2011.03.06.03.47.26;	author dholland;	state Exp;
branches;
next	1.20;

1.20
date	2010.10.09.07.26.04;	author obache;	state Exp;
branches;
next	1.19;

1.19
date	2010.10.09.05.58.27;	author obache;	state Exp;
branches;
next	1.18;

1.18
date	2009.04.09.00.44.53;	author joerg;	state Exp;
branches;
next	1.17;

1.17
date	2007.11.17.13.40.15;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2007.03.01.18.04.48;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2006.04.22.09.22.11;	author rillig;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.05.20.50.33;	author rillig;	state Exp;
branches;
next	1.13;

1.13
date	2005.09.28.20.52.24;	author rillig;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.16.01.19.12;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2005.03.24.21.12.56;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2003.11.23.07.41.19;	author salo;	state Exp;
branches;
next	1.9;

1.9
date	2002.07.02.11.37.33;	author agc;	state Exp;
branches;
next	1.8;

1.8
date	2001.10.26.14.10.01;	author agc;	state Exp;
branches;
next	1.7;

1.7
date	2001.04.08.00.24.55;	author itojun;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.25.04.17.58;	author hubertf;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.17.18.24.50;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	2000.08.27.02.46.04;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.27.08.54.59;	author tron;	state Exp;
branches;
next	1.2;

1.2
date	99.12.26.17.35.41;	author itojun;	state Exp;
branches;
next	1.1;

1.1
date	99.12.26.17.25.16;	author itojun;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.12.26.17.25.16;	author itojun;	state Exp;
branches;
next	;


desc
@@


1.33
log
@*: recursive bump for perl 5.36
@
text
@# $NetBSD: Makefile,v 1.32 2021/05/24 19:52:41 wiz Exp $

DISTNAME=		mailagent-3.0.73
PKGREVISION=		12
CATEGORIES=		mail
MASTER_SITES=		${MASTER_SITE_PERL_CPAN:S/by-module/by-authors\/id\/RAM/g}

MAINTAINER=		pkgsrc-users@@NetBSD.org
COMMENT=		Sophisticated automatic mail-processing tool
LICENSE=		artistic

DEPENDS+=		p5-Perl4-CoreLibs-[0-9]*:../../devel/p5-Perl4-CoreLibs

USE_TOOLS+=		perl:run

RESTRICTED=		Correct FQDN needs to be hardcoded
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

MAKE_JOBS_SAFE=		no

HAS_CONFIGURE=		yes
CONFIGURE_SCRIPT=	./Configure
CONFIGURE_ARGS+=	-dres
CONFIGURE_ARGS+=	-Dperlpath=${PERL5:Q}
CONFIGURE_ARGS+=	-Dutmp='/var/run/utmp'
CONFIGURE_ARGS+=	-Dprefix=${PREFIX:Q}
CONFIGURE_ARGS+=	-Dmansrc=${PREFIX:Q}/${PKGMANDIR}/man1
CONFIGURE_ARGS+=	-Dnotifypatches='false'
CONFIGURE_ARGS+=	-Dcat=${CAT:Q}
INSTALL_TARGET=		install install.man

MAILAGENT_DOMAIN?=		example.com
MAILAGENT_EMAIL?=		testuser@@example.com
MAILAGENT_FQDN?=		test.example.com
MAILAGENT_ORGANIZATION?=	Example Company

BUILD_DEFS+=	MAILAGENT_DOMAIN MAILAGENT_EMAIL MAILAGENT_FQDN MAILAGENT_ORGANIZATION

INSTALL_MAKE_FLAGS+=	BINDIR=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+=	SCRIPTDIR=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+=	PRIVLIB=${DESTDIR}${PREFIX}/lib/mailagent
INSTALL_MAKE_FLAGS+=	MANSRC=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

CF=				${WRKSRC}/config.sh

pre-extract:
	if [ `${SH} -c umask` != 0022 ]; then \
	  ${ECHO} "Please set umask to 022 before running make,"; \
	  ${ECHO} "or mailagent will not build successfully."; \
	  ${FALSE}; fi
	if [ `${ID} -u` = 0 ]; then \
	  ${ECHO} "Do not build mailagent as root or it won't pass the sanity tests."; \
	  ${FALSE}; fi

pre-configure:
	${ECHO} "#!/bin/sh" > ${CF}
	${ECHO} "cf_email='${MAILAGENT_EMAIL}'" >> ${CF}
	${ECHO} "d_flockonly='define'" >> ${CF}
	if [ `${ECHO} ${MAILAGENT_DOMAIN} | tr A-Z a-z` = `${ECHO} ${MAILAGENT_FQDN} | tr A-Z a-z` ]; then \
		${ECHO} "d_hidnet='undef'" >> ${CF}; \
		${ECHO} "hiddennet=''" >> ${CF}; \
	else \
		${ECHO} "d_hidnet='define'" >> ${CF}; \
		${ECHO} "hiddennet='${MAILAGENT_DOMAIN}'" >> ${CF}; \
	fi
	${ECHO} "orgname='${MAILAGENT_ORGANIZATION}'" >> ${CF}

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mailagent
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mailagent/misc
	${CP} -pR ${WRKSRC}/misc/* ${DESTDIR}${PREFIX}/share/examples/mailagent/misc

.include "../../mk/bsd.pkg.mk"
@


1.32
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2020/08/31 18:09:57 wiz Exp $
d4 1
a4 1
PKGREVISION=		11
@


1.31
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2019/08/11 13:21:28 wiz Exp $
d4 1
a4 1
PKGREVISION=		10
@


1.30
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2018/08/22 09:45:25 wiz Exp $
d4 1
a4 1
PKGREVISION=		9
@


1.29
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2016/07/09 06:38:29 wiz Exp $
d4 1
a4 1
PKGREVISION=		8
@


1.28
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2015/06/12 10:50:19 wiz Exp $
d4 1
a4 1
PKGREVISION=		7
@


1.27
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2014/05/29 23:36:46 wiz Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.26
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2013/06/15 06:09:37 obache Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.25
log
@* LICENSE=artistic
* using legacy module getopt.pl, add dependency on p5-Perl4-CoreLibs
* fixes some warnings of prototype mismatch.

Bump PKGREVISION from additional dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2013/05/31 12:41:14 wiz Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.24
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2012/10/08 12:19:15 asau Exp $
d4 1
a4 1
PKGREVISION=		3
d10 3
@


1.23
log
@Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2012/10/03 21:56:24 wiz Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.22
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2011/03/06 03:47:26 dholland Exp $
a10 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.21
log
@Fix glaring LP64 problems; build no longer hangs on amd64 as reported
in PR 44682.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2010/10/09 07:26:04 obache Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.20
log
@* no interactive in configure stage since 3 years 7 months ago.
* add user-destdir installation support.
* no for workref of cat command.
* honor PKGMANDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2010/10/09 05:58:27 obache Exp $
d4 1
@


1.19
log
@MAKE_JOBS_SAFE=no
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2009/04/09 00:44:53 joerg Exp $
d10 2
a16 1
INTERACTIVE_STAGE=	configure
d26 1
a26 1
CONFIGURE_ARGS+=	-Dmansrc=${PREFIX:Q}/man/man1
d28 1
a28 1
MAKE_ENV+=		PATH=`${DIRNAME} ${PERL5}`:${PATH:Q}
d38 6
d69 3
a71 5
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailagent
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailagent/misc
	${CP} -pR ${WRKSRC}/misc/* ${PREFIX}/share/examples/mailagent/misc
	${LN} -fs ${PREFIX}/lib/mailagent/examples \
		${PREFIX}/share/examples/mailagent/agent
@


1.18
log
@Replace NO_PACKAGE with NO_BIN_ON_* as it is about reuse on different
machines.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2007/11/17 13:40:15 wiz Exp $
d17 2
@


1.17
log
@Reset maintainer for itojun's packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2007/03/01 18:04:48 wiz Exp $
d12 3
a14 1
NO_PACKAGE=		Correct FQDN needs to be hardcoded
@


1.16
log
@Use variables instead of interactively asking the user to provide values.
Some pkglint cleanup while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2006/04/22 09:22:11 rillig Exp $
d7 1
a7 1
MAINTAINER=		itojun@@itojun.org
@


1.15
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:33 rillig Exp $
d23 1
a23 1
MAKE_ENV+=		PATH=`${DIRNAME} ${PERL5}`:${PATH}
d26 9
d36 1
a36 1
	@@if [ `${SH} -c umask` != 0022 ]; then \
d40 1
a40 1
	@@if [ `${ID} -u` = 0 ]; then \
d45 11
a55 1
	cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-configure
d58 2
a59 2
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailagent
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailagent/misc
d61 1
a61 1
	@@${LN} -fs ${PREFIX}/lib/mailagent/examples \
@


1.14
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/09/28 20:52:24 rillig Exp $
d12 1
a12 1
NO_PACKAGE=		"Correct FQDN needs to be hardcoded"
@


1.13
log
@Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2005/07/16 01:19:12 jlam Exp $
d17 7
a23 6
CONFIGURE_ARGS=		-dres \
			-Dperlpath='${PERL5}' \
			-Dutmp='/var/run/utmp' \
			-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
			-Dnotifypatches='false'
MAKE_ENV=		PATH=`${DIRNAME} ${PERL5}`:${PATH}
@


1.12
log
@Get rid of USE_PERL5.  The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/03/24 21:12:56 wiz Exp $
d15 1
a15 1
HAS_CONFIGURE=		# defined
@


1.11
log
@Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/11/23 07:41:19 salo Exp $
d10 1
a10 1
USE_PERL5=		# defined
@


1.10
log
@dirname -> ${DIRNAME}, id -> ${ID}
From Soren Jacobsen via PR pkg/23542.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.9 2002/07/02 11:37:33 agc Exp $
# FreeBSD: ports/mail/mailagent/Makefile,v 1.28 1999/08/31 06:47:24 mharo Exp
#
@


1.9
log
@Deprecate IS_INTERACTIVE

Mark this package as needing an interactive configuration stage
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/10/26 14:10:01 agc Exp $
d24 1
a24 1
MAKE_ENV=		PATH=`dirname ${PERL5}`:${PATH}
d32 1
a32 1
	@@if [ `id -u` = 0 ]; then \
@


1.8
log
@At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2001/04/08 00:24:55 itojun Exp $
d15 1
a15 1
IS_INTERACTIVE=		# defined
@


1.7
log
@upgrade to 3.0.73.

Sat Mar 17 19:29:59 MET 2001   Raphael Manfredi <Raphael_Manfredi@@pobox.com>

. Description:

	Added credits for Manoj Srivastava, the Debian packager, for
	his wonderful work.

	Added two variables: domain and hidenet, in order to address
	the Debian bug #72737.  The values hardwired at Configure time
	in mailagent are now used only up to the moment where we have
	parsed the user configuration.

	Forgot to increment buf in pool_read(), in the C filter.
	This was an important bug, which had never hit me however.
	I noticed it by looking a the Debian patches.

	Use the "email" config var verbatim in FORWARD.  It used to
	determine the Resent-From: by constructing a full email address,
	but this is wrong.  We should use whatever the user said, and
	it is up to MTAs to fix the address should it be unqualified.

	Removed unused var in POST.

	Fixed longstanding lie in man; "To: gue@@eiffel.fr" now works
	as advertised in the man page.  It also means you can write:

	    To Cc: user@@example.com

	instead of the heavier:

	    To Cc: /^user@@example\.com$/

	However, if you wish to use more complex patterns, you still
	have to use the /^/ anchored form.

	Create a new filter/address test to test various matching
	patterns on address selectors.

	Try to run tests as nobody when super-user -- from Debian.

	Fixed test rules for UNIQUE, removing spurious REJECT -f.  The
	error present in the man page had also propagated to the test
	cases.

. Files changed:

	* agent/files/setup.cf, agent/files/mailagent.cf: Added two
	variables: domain and hidenet.

	* agent/filter/io.c: Forgot to increment buf in pool_read() -- from
	Debian.

	* agent/magent.sh: Mydomain and hiddennet now superseded by config
	vars.  Changed email_addr() and domain_addr() to honour new config
	vars.

	* agent/man/mailagent.SH: Documented new config vars: domain and
	hidenet.  Various fixes from bug reports on Debian.

	* agent/pl/actions.pl: Use the "email" config var verbatim in
	FORWARD.  Removed unused var in POST.

	* agent/pl/builtins.pl: Hostname computed via domain_addr() to honour
	hidenet.

	* agent/pl/matching.pl: Fixed longstanding lie in man; "To:
	gue@@eiffel.fr" now works.

	* agent/pl/parse.pl: Use the "domain" config var instead of mydomain.

	* agent/pl/read_conf.pl: Computes suitable defaults for new "domain"
	and "hidenet".

	* agent/pl/rfc822.pl: Use "domain" config var instead of mydomain.

	* agent/test/TEST: Try to run tests as nobody when super-user -- from
	Debian.

	* agent/test/actions: Fixed test rules for UNIQUE, removing spurious
	REJECT -f.

	* agent/test/filter/address.t: Created.

	* agent/test/filter/list.t: Unlink files we expect to be created
	before running command.

	* agent/test/rules: Added new filter/address tests.

Tue Mar 13 14:27:14 MET 2001   Raphael Manfredi <Raphael_Manfredi@@pobox.com>

. Description:

	Made fixup of header fields in POST be a warning in the
	logs, instead of a mere notice.

	Added fix for broken continuations in parse_mail().  I have
	started receiving messages with invalid header continuations,
	and this led to failure in POST: the remote news server is
	much more strict on headers than mail agents.

	Fixed RESYNC, copied continuation fix from parse_mail().

	Added support for SUBST/TR on mail headers: it is now possible
	to say something like:

	    SUBST Subject: /foo/bar/g;

	to alter header field in place.  See the updated manual page
	for details.

	Added rule to suppress () and {} in message ids, since again
	it led to failures when using POST.

	Added test cases for SUBST/TR on header fields.

	The newsgate program now computes the In-Reply-To field via a
	regexp instead of a split on References to cope with bad
	References line that dont have a space between message ids.

. Files changed:

	* agent/man/mailagent.SH: Documented SUBST/TR on header fields.

	* agent/pl/actions.pl: Made fixup of header fields in POST be a
	warning.  Fixed RESYNC, copied continuation fix from parse_mail().
	Added support for SUBST/TR on mail headers.

	* agent/pl/filter.pl: Changed SUBST/TR parameter parsing to support
	header fields.

	* agent/pl/header.pl: Added rule to suppress () and {} in message ids.

	* agent/pl/history.pl: Message ids are now cleaned-up via
	msgid_cleanup().

	* agent/pl/parse.pl: Added fix for broken continuations in
	parse_mail().

	* agent/test/actions: Added test cases for SUBST/TR on header fields.

	* agent/test/cmd/subst.t: Added test cases for SUBST on header fields.

	* agent/test/cmd/tr.t: Added test cases for TR on header fields.

	* misc/news/ml.map: Typo fixes in leading comment.

	* misc/news/newsgate: The in-reply-to field is now computed via a
	regexp.

Wed Jan 10 18:10:29 MET 2001   Raphael Manfredi <Raphael_Manfredi@@pobox.com>

. Description:

	Updated date in README and my e-mail address.

	Documented my CPAN directory URL in agent/README.

	Compilation bug fixes in filter:
	. switched to dynamic init of standard file array for GNU libc
	. fixed incorrect selection of sys_errlist[]

	Changed semantics of "tome": the '.' and '_' in names is no
	longer stripped.  If your full name was, say, raphael_manfredi,
	then you could set "tome: manfredi" and it worked.  The heuristics
	were bad, and it prevented doing useful things.  Let's drop
	support for that and see if anyone complains. ;-)

	Updated POST to current practices.  In particular, it has been
	tested to establish a mail -> news gateway with INN 1.7.2.
	POST also support a new "-b" switch to cause article biffing, just
	like saving in a folder triggers mail biffing.

	The following new features are available in POST:
	. fix lines like From: A.B <a@@b> into From: "A.B" <a@@b>
	. remove duplicate Content-Transfer-Encoding and other MIME headers
	. generate proper References: line and fixes bad Message-ID lines.
	. fix date if too old or too far in the future

	In the new misc/news directory, you'll find a program and instruction
	to setup a news -> mail gateway (tested with INN 1.7.2), thereby
	making it possible to build a bi-directional mail <=> news gateway
	with mailagent.

	Fixed wrong lexical attribute synthesis for numbers during date
	parsing, which cause 08 and 09 to not parse at all.

	Fixed sed command that produced bad dependencies on linux in the
	agent/pl/utmp directory.

	Fixed dates for the SELECT test to avoid failures past year 2001.

. Files changed:

	* agent/filter/io.c: Switched to dynamic init of standard file array
	for GNU libc.

	* agent/filter/logfile.c: Fixed incorrect selection of sys_errlist[].

	* agent/man/mailagent.SH: Changed semantics of "tome".  Updated POST
	to current practices.  Documented biffing macros for news article.

	* agent/pl/actions.pl: Replaced calls to fake_date() by mta_date().
	Rewrote the POST command, and added the -b switch.

	* agent/pl/biff.pl: Added support for news article biffing.

	* agent/pl/getdate.pl: Fixed wrong lexical attribute synthesis for
	numbers.

	* agent/pl/header.pl: New mta_date() routine replaces old
	fake_date().  Added msgid_cleanup() and parsedate() routines.

	* agent/pl/parse.pl: Allow direct IP numbers in Received fields.

	* agent/pl/period.pl: Added relative_age().

	* agent/pl/rfc822.pl: Dropped support of '_' and '.' stripping in
	last_name().  Added gen_message_id().

	* agent/pl/runcmd.pl: New -b switch for POST to request biffing.

	* agent/test/actions: Fixed dates for the SELECT test to avoid
	failures past 2001.

	* agent/test/cmd/vacation.t: Changed "tome" settings due to dropping
	of dot stripping.

	* misc/news/newsgate, misc/news/ml.map: Created.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2001/02/25 04:17:58 hubertf Exp $
d35 3
@


1.6
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/02/17 18:24:50 wiz Exp $
d5 1
a5 2
DISTNAME=		mailagent-3.0@@68
PKGNAME=		mailagent-3.0.68
@


1.5
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/08/27 02:46:04 jlam Exp $
d38 2
a39 2
	@@${MKDIR} ${PREFIX}/share/examples/mailagent
	@@${MKDIR} ${PREFIX}/share/examples/mailagent/misc
@


1.4
log
@Use new PERL5 variable instead of ${LOCALBASE}/bin/perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/03/27 08:54:59 tron Exp $
d11 1
@


1.3
log
@Adapt to new handling of "${CONFIGURE}".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/12/26 17:35:41 itojun Exp $
a8 1
#MASTER_SITE_SUBDIR=	../../authors/id/RAM
d10 1
a10 1
MAINTAINER=	itojun@@itojun.org
d12 1
a12 2
# be friendly with FreeBSD-ish use of ${PERL5}
PERL5=		${LOCALBASE}/bin/perl
d14 4
a17 4
USE_PERL5=	yes
NO_PACKAGE=	"Correct FQDN needs to be hardcoded"
IS_INTERACTIVE=		yes
HAS_CONFIGURE=		yes
d24 2
a25 7
MAKE_ENV=	PATH=`dirname ${PERL5}`:${PATH}
INSTALL_TARGET=	install install.man

# Note that mailhelp.1 is intentionally left uncompressed as it is referred
# from several other man pages with .so macro.
MAN1=			edusers.1 mailagent.1 maildist.1  \
			maillist.1 mailpatch.1 package.1
d40 2
a41 1
	@@${LN} -fs ${PREFIX}/lib/mailagent/examples ${PREFIX}/share/examples/mailagent/agent
@


1.2
log
@fix mail/mailagent (email filtering tool) to fit into NetBSD pkgsrc.
@
text
@d1 1
a1 1
# $NetBSD$
d20 1
a20 1
CONFIGURE_SCRIPT=	Configure
@


1.1
log
@Initial revision
@
text
@d1 2
a2 6
# New ports collection makefile for:	mailagent
# Version required:		3.0pl68
# Date created:			23 Sep 1996
# Whom:				Masafumi NAKANE <max@@FreeBSD.org>
#
# $FreeBSD: ports/mail/mailagent/Makefile,v 1.29 1999/09/07 19:56:12 max Exp $
d8 4
a11 2
MASTER_SITES=		${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	../../authors/id/RAM
d13 2
a14 1
MAINTAINER=	max@@FreeBSD.org
d49 1
a49 1
.include <bsd.port.mk>
@


1.1.1.1
log
@mail/mailagent from freebsd-current
@
text
@@
