1996-09-28 23:26:48 -04:00
|
|
|
# New ports collection makefile for: mailagent
|
|
|
|
# Date created: 23 Sep 1996
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
1996-09-28 23:26:48 -04:00
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1996-09-28 23:26:48 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 16:01:08 -04:00
|
|
|
PORTNAME= mailagent
|
|
|
|
PORTVERSION= 3.0.68
|
1997-05-25 14:29:06 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
1998-01-08 13:52:14 -05:00
|
|
|
MASTER_SITE_SUBDIR= ../../authors/id/RAM
|
2000-04-13 16:01:08 -04:00
|
|
|
DISTNAME= ${PORTNAME}-3.0@68
|
1997-01-16 04:53:28 -05:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1996-09-28 23:26:48 -04:00
|
|
|
|
1997-06-24 16:59:30 -04:00
|
|
|
USE_PERL5= yes
|
1996-12-07 20:45:16 -05:00
|
|
|
NO_PACKAGE= "Correct FQDN needs to be hardcoded"
|
1996-09-28 23:26:48 -04:00
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
|
|
|
CONFIGURE_ARGS= -dres \
|
1998-09-19 06:49:02 -04:00
|
|
|
-Dperlpath='${PERL5}' \
|
1996-09-28 23:26:48 -04:00
|
|
|
-Dutmp='/var/run/utmp' \
|
|
|
|
-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
|
|
|
|
-Dnotifypatches='false'
|
1998-09-19 06:49:02 -04:00
|
|
|
MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH}
|
1996-09-28 23:26:48 -04: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 14:33:30 -04:00
|
|
|
MAN1= edusers.1 mailagent.1 maildist.1 \
|
|
|
|
maillist.1 mailpatch.1 package.1
|
1996-09-28 23:26:48 -04:00
|
|
|
|
1997-01-19 21:30:08 -05:00
|
|
|
pre-extract:
|
1997-07-13 14:49:31 -04:00
|
|
|
@if [ `${SH} -c umask` != 0022 ]; then \
|
1998-09-19 06:49:02 -04:00
|
|
|
${ECHO} "Please set umask to 022 before running make,"; \
|
|
|
|
${ECHO} "or mailagent will not build successfully."; \
|
|
|
|
${FALSE}; fi
|
1997-11-23 12:02:37 -05:00
|
|
|
@if [ `id -u` = 0 ]; then \
|
1998-09-19 06:49:02 -04:00
|
|
|
${ECHO} "Do not build mailagent as root or it won't pass the sanity tests."; \
|
|
|
|
${FALSE}; fi
|
1997-11-23 12:02:37 -05:00
|
|
|
|
|
|
|
post-install:
|
1999-09-07 15:56:13 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/mailagent
|
1998-04-04 04:08:01 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/mailagent/misc
|
|
|
|
${CP} -pR ${WRKSRC}/misc/* ${PREFIX}/share/examples/mailagent/misc
|
1999-09-07 15:56:13 -04:00
|
|
|
@${LN} -fs ${PREFIX}/lib/mailagent/examples ${PREFIX}/share/examples/mailagent/agent
|
1997-01-19 21:30:08 -05:00
|
|
|
|
1996-09-28 23:26:48 -04:00
|
|
|
.include <bsd.port.mk>
|