1996-09-29 03:26:48 +00:00
|
|
|
# New ports collection makefile for: mailagent
|
|
|
|
# Date created: 23 Sep 1996
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
1996-09-29 03:26:48 +00:00
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1996-09-29 03:26:48 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= mailagent
|
2011-06-03 13:32:40 +00:00
|
|
|
PORTVERSION= 3.1.71
|
1997-05-25 18:29:06 +00:00
|
|
|
CATEGORIES= mail
|
2010-04-02 09:21:33 +00:00
|
|
|
MASTER_SITES= http://eron.info/
|
1997-01-16 09:53:28 +00:00
|
|
|
|
2008-08-14 21:38:45 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A sophisticated automatic mail-processing tool
|
1996-09-29 03:26:48 +00:00
|
|
|
|
1997-06-24 20:59:30 +00:00
|
|
|
USE_PERL5= yes
|
2010-04-02 09:21:33 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
|
2006-05-08 06:45:07 +00:00
|
|
|
NO_PACKAGE= Correct FQDN needs to be hardcoded
|
1996-09-29 03:26:48 +00:00
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
|
|
|
CONFIGURE_ARGS= -dres \
|
2002-08-12 00:36:24 +00:00
|
|
|
-Dperlpath='${PERL}' \
|
|
|
|
-Dccflags='${CFLAGS}' \
|
|
|
|
-Dd_flockonly='define' \
|
1996-09-29 03:26:48 +00:00
|
|
|
-Dutmp='/var/run/utmp' \
|
2002-08-12 00:36:24 +00:00
|
|
|
-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1'
|
2010-04-02 09:21:33 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1998-09-19 10:49:02 +00:00
|
|
|
MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH}
|
1996-09-29 03:26:48 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
2002-09-02 23:25:47 +00:00
|
|
|
MAN1= edusers.1 mailagent.1 package.1 mailhelp.1
|
|
|
|
MLINKS= mailhelp.1 maildist.1 mailhelp.1 mailpatch.1 \
|
|
|
|
mailhelp.1 maillist.1
|
1996-09-29 03:26:48 +00:00
|
|
|
|
1997-01-20 02:30:08 +00:00
|
|
|
pre-extract:
|
1997-07-13 18:49:31 +00:00
|
|
|
@if [ `${SH} -c umask` != 0022 ]; then \
|
1998-09-19 10:49:02 +00:00
|
|
|
${ECHO} "Please set umask to 022 before running make,"; \
|
|
|
|
${ECHO} "or mailagent will not build successfully."; \
|
|
|
|
${FALSE}; fi
|
1997-11-23 17:02:37 +00:00
|
|
|
@if [ `id -u` = 0 ]; then \
|
1998-09-19 10:49:02 +00:00
|
|
|
${ECHO} "Do not build mailagent as root or it won't pass the sanity tests."; \
|
|
|
|
${FALSE}; fi
|
1997-11-23 17:02:37 +00:00
|
|
|
|
2002-05-16 08:37:33 +00:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${PERL} -pi.bak \
|
|
|
|
-e 's|exec perl -S|exec ${PERL} -S|' \
|
|
|
|
agent/edusers.SH agent/magent.sh agent/maildist.SH \
|
|
|
|
agent/mailhelp.SH agent/maillist.SH agent/mailpatch.SH \
|
|
|
|
agent/package.SH agent/test/TEST agent/test/atail \
|
|
|
|
bin/perload misc/getcost/getcost misc/mime/unmime \
|
|
|
|
misc/news/newsgate)
|
|
|
|
|
1997-11-23 17:02:37 +00:00
|
|
|
post-install:
|
2006-05-08 06:45:07 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/misc
|
|
|
|
${CP} -pR ${WRKSRC}/misc/* ${EXAMPLESDIR}/misc
|
|
|
|
@${LN} -fs ${PREFIX}/lib/mailagent/examples ${EXAMPLESDIR}/agent
|
1997-01-20 02:30:08 +00:00
|
|
|
|
1996-09-29 03:26:48 +00:00
|
|
|
.include <bsd.port.mk>
|