2000-08-26 16:26:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2000/08/26 14:26:57 wiz Exp $
|
1998-04-20 13:56:17 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp
|
1998-02-28 00:11:39 +01:00
|
|
|
#
|
|
|
|
|
2000-08-26 16:26:57 +02:00
|
|
|
DISTNAME= procmail-3.15
|
1998-02-28 00:11:39 +01:00
|
|
|
CATEGORIES= mail
|
1999-04-06 13:48:07 +02:00
|
|
|
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/
|
1998-02-28 00:11:39 +01:00
|
|
|
|
2000-08-26 16:26:57 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.procmail.org/
|
1998-02-28 00:11:39 +01:00
|
|
|
|
2000-08-26 16:26:57 +02:00
|
|
|
INSTALL_TARGET= install-suid install.man
|
1998-11-04 11:36:41 +01:00
|
|
|
MAKE_ENV= SHELL=/bin/sh
|
1998-02-28 00:53:08 +01:00
|
|
|
|
2000-08-26 16:26:57 +02:00
|
|
|
MESSAGE_FILE= ${WRKDIR}/MESSAGE
|
|
|
|
|
1998-07-03 16:57:05 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h-orig
|
|
|
|
${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' < ${WRKSRC}/config.h-orig \
|
|
|
|
> ${WRKSRC}/config.h
|
1998-07-09 13:18:53 +02:00
|
|
|
${MV} ${WRKSRC}/man/procmail.man ${WRKSRC}/man/procmail.man-orig
|
|
|
|
${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' \
|
|
|
|
< ${WRKSRC}/man/procmail.man-orig \
|
|
|
|
> ${WRKSRC}/man/procmail.man
|
1998-07-03 16:57:05 +02:00
|
|
|
|
2000-08-26 16:26:57 +02:00
|
|
|
pre-install:
|
|
|
|
${SED} -e 's,@PREFIX@,${PREFIX},g' ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
|
|
|
|
|
1999-10-06 11:21:11 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/new; \
|
|
|
|
for f in procmail formail lockfile; do \
|
|
|
|
${INSTALL_PROGRAM} $$f ${LOCALBASE}/bin/$$f; \
|
|
|
|
done; \
|
|
|
|
${INSTALL_SCRIPT} mailstat ${LOCALBASE}/bin/mailstat; \
|
|
|
|
for f in procmail.1 formail.1 lockfile.1; do \
|
|
|
|
${INSTALL_MAN} $$f ${LOCALBASE}/man/man1/$$f; \
|
|
|
|
done; \
|
|
|
|
for f in procmailex.5 procmailrc.5 procmailsc.5; do \
|
|
|
|
${INSTALL_MAN} $$f ${LOCALBASE}/man/man5/$$f; \
|
|
|
|
done
|
2000-08-03 16:42:29 +02:00
|
|
|
${SH} ${WRKSRC}/suid.sh
|
1999-10-06 11:21:11 +02:00
|
|
|
.endif
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|