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
|
|
|
|
PORTVERSION= 3.0.68
|
1997-05-25 18:29:06 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
1998-01-08 18:52:14 +00:00
|
|
|
MASTER_SITE_SUBDIR= ../../authors/id/RAM
|
2000-04-13 20:01:08 +00:00
|
|
|
DISTNAME= ${PORTNAME}-3.0@68
|
1997-01-16 09:53:28 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1996-09-29 03:26:48 +00:00
|
|
|
|
1997-06-24 20:59:30 +00:00
|
|
|
USE_PERL5= yes
|
1996-12-08 01:45:16 +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 \
|
1998-09-19 10:49:02 +00:00
|
|
|
-Dperlpath='${PERL5}' \
|
1996-09-29 03:26:48 +00:00
|
|
|
-Dutmp='/var/run/utmp' \
|
|
|
|
-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
|
|
|
|
-Dnotifypatches='false'
|
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
|
|
|
|
|
|
|
|
# Note that mailhelp.1 is intentionally left uncompressed as it is referred
|
|
|
|
# from several other man pages with .so macro.
|
1997-06-02 18:33:30 +00:00
|
|
|
MAN1= edusers.1 mailagent.1 maildist.1 \
|
|
|
|
maillist.1 mailpatch.1 package.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
|
|
|
|
|
|
|
post-install:
|
1999-09-07 19:56:13 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/mailagent
|
1998-04-04 09:08:01 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/mailagent/misc
|
|
|
|
${CP} -pR ${WRKSRC}/misc/* ${PREFIX}/share/examples/mailagent/misc
|
1999-09-07 19:56:13 +00:00
|
|
|
@${LN} -fs ${PREFIX}/lib/mailagent/examples ${PREFIX}/share/examples/mailagent/agent
|
1997-01-20 02:30:08 +00:00
|
|
|
|
1996-09-29 03:26:48 +00:00
|
|
|
.include <bsd.port.mk>
|