summaryrefslogtreecommitdiff
path: root/mail/procmail
diff options
context:
space:
mode:
authoragc <agc>1999-10-06 09:21:11 +0000
committeragc <agc>1999-10-06 09:21:11 +0000
commit1641823523848f45a1c971a3aabc2e191b95a9c3 (patch)
tree5da1f16aebd5001ba05dd7eeffc7b3d2f36ea08d /mail/procmail
parent962031bfdeef0f8474caaa6fb491075e726b4f30 (diff)
downloadpkgsrc-1641823523848f45a1c971a3aabc2e191b95a9c3.tar.gz
Add a do-install target for Solaris installations only.
Diffstat (limited to 'mail/procmail')
-rw-r--r--mail/procmail/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index e4bba875e0b..d68961edbd8 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1999/04/07 02:59:19 cjs Exp $
+# $NetBSD: Makefile,v 1.13 1999/10/06 09:21:11 agc Exp $
# FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp
#
@@ -21,4 +21,22 @@ post-patch:
< ${WRKSRC}/man/procmail.man-orig \
> ${WRKSRC}/man/procmail.man
+.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
+ ${WRKSRC}/suid.sh
+.endif
+
.include "../../mk/bsd.pkg.mk"