summaryrefslogtreecommitdiff
path: root/mail/procmail
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-10-06 09:21:11 +0000
committeragc <agc@pkgsrc.org>1999-10-06 09:21:11 +0000
commita66a5e97f2ba3afc01e67e2d2ded418166985259 (patch)
tree5da1f16aebd5001ba05dd7eeffc7b3d2f36ea08d /mail/procmail
parentdb7b4d194af797969034d7b90bfb419b8b66ac02 (diff)
downloadpkgsrc-a66a5e97f2ba3afc01e67e2d2ded418166985259.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"