1996-09-28 23:26:48 -04:00
|
|
|
# New ports collection makefile for: mailagent
|
1997-09-15 21:03:34 -04:00
|
|
|
# Version required: 3.0pl58
|
1996-09-28 23:26:48 -04:00
|
|
|
# Date created: 23 Sep 1996
|
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
|
|
|
#
|
1997-11-23 12:02:37 -05:00
|
|
|
# $Id: Makefile,v 1.20 1997/09/16 01:03:26 max Exp $
|
1996-09-28 23:26:48 -04:00
|
|
|
#
|
|
|
|
|
1997-09-15 21:03:34 -04:00
|
|
|
DISTNAME= mailagent-3.0@58
|
|
|
|
PKGNAME= mailagent-3.0.58
|
1997-05-25 14:29:06 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= ../../authors/id/RAM/
|
1997-01-16 04:53:28 -05:00
|
|
|
|
1996-09-28 23:26:48 -04:00
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
|
|
|
|
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 \
|
1997-01-16 04:53:28 -05:00
|
|
|
-Dperlpath='${PERLPATH}/perl' \
|
1996-09-28 23:26:48 -04:00
|
|
|
-Dutmp='/var/run/utmp' \
|
|
|
|
-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
|
|
|
|
-Dnotifypatches='false'
|
1997-06-02 14:33:30 -04:00
|
|
|
MAKE_ENV= PATH=${PERLPATH}:${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
|
|
|
|
PERLPATH?= ${PREFIX}/bin
|
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 \
|
1997-01-19 21:30:08 -05: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 \
|
|
|
|
echo "Do not build mailagent as root or it won't pass the sanity tests."; \
|
|
|
|
false; fi
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/mailagent
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/agent/examples/* ${PREFIX}/share/examples/mailagent
|
1997-01-19 21:30:08 -05:00
|
|
|
|
1996-09-28 23:26:48 -04:00
|
|
|
.include <bsd.port.mk>
|