summaryrefslogtreecommitdiff
path: root/mail/majordomo/Makefile
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-10-26 18:21:17 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-10-26 18:21:17 +0000
commit268003829330c6a646b1868f7f2a570aed9ca941 (patch)
tree0425362118e9d0426a783211269689ce17c35c4e /mail/majordomo/Makefile
parent1.0.84 --> 1.0.86 (diff)
Upgrade to majordomo v1.94 release
Use new INSTALL_ aliases Clean up creation of majordom user and group Fix problem where the local host was set to 'thud.cdrom.com' in everyone's config by default.
Notes
Notes: svn path=/head/; revision=4162
Diffstat (limited to 'mail/majordomo/Makefile')
-rw-r--r--mail/majordomo/Makefile72
1 files changed, 62 insertions, 10 deletions
diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile
index 99c7f69b9732..93415b4c0ae1 100644
--- a/mail/majordomo/Makefile
+++ b/mail/majordomo/Makefile
@@ -1,25 +1,77 @@
# New ports collection makefile for: majordomo
-# Version required: 1.93
-# Date created: 8 Jul 1996
-# Whom: james@nexis.net
+# Version required: 1.94
+# Date created: 23 October 1996
+# Whom: jfitz@FreeBSD.ORG
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/07/20 01:39:21 asami Exp $
#
-DISTNAME= majordomo-1.93
+DISTNAME= majordomo-1.94
CATEGORIES+= mail
-MASTER_SITES= ftp://ftp.greatcircle.com/pub/majordomo/
+MASTER_SITES= ftp://ftp.greatcircle.com/pub/majordomo/ \
+ ftp://ftp.sgi.com/other/majordomo/ \
+ ftp://ftp-europe.sgi.com/other/majordomo/
+
EXTRACT_SUFX= .tar.Z
-MAINTAINER= james@nexis.net
+MAINTAINER= jfitz@FreeBSD.ORG
# Needs to create a user and group
IS_INTERACTIVE= yes
NO_PACKAGE= yes
-ALL_TARGET= default
-INSTALL_TARGET= install install-wrapper install-archive2
+
+ALL_TARGET= wrapper
+INSTALL_TARGET= install install-wrapper
+
+pre-configure:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/createuser
+ @ ${CP} ${FILESDIR}/aliases.majordomo ${WRKSRC}
+
+pre-install:
+ @ ${CP} ${WRKSRC}/sample.cf ${WRKSRC}/majordomo.cf
post-install:
- cp -p ${FILESDIR}/post-install-notes ${PREFIX}/majordomo/Doc
+ @ ln -sf ${PREFIX}/majordomo/Tools/digest ${PREFIX}/majordomo
+ @ for dir in tmp lists/test-l.archive lists/test-l-digest.archive digests/test-l-digest doc; do \
+ ${MKDIR} -p ${PREFIX}/majordomo/$$dir; \
+ done
+ @ /usr/sbin/chown majordom.majordom ${PREFIX}/majordomo/tmp
+ @ /bin/chmod 700 ${PREFIX}/majordomo/tmp
+ @ /bin/chmod 755 ${PREFIX}/majordomo
+ @ for dir in digests lists lists/test-l.archive lists/test-l-digest.archive digests/test-l-digest doc; do \
+ /usr/sbin/chown majordom.majordom ${PREFIX}/majordomo/$$dir; \
+ /bin/chmod 775 ${PREFIX}/majordomo/$$dir; \
+ done
+.if !defined(NOPORTDOCS)
+ @ for file in Changelog FUTURE INSTALL LICENSE NEWLIST README; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/majordomo/doc; \
+ done
+ @ for file in FAQ README.sequencer list-owner-info majordomo-faq.html majordomo.lisa6.ps majordomo.ora; do \
+ ${INSTALL_DATA} ${WRKSRC}/Doc/$$file ${PREFIX}/majordomo/doc; \
+ done
+ @ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/majordomo/doc
+.endif
+ @ ${INSTALL_DATA} ${WRKSRC}/aliases.majordomo ${PREFIX}/majordomo
+ @ for file in test-l test-l-digest test-l.passwd test-l.info; do \
+ ${INSTALL_DATA} ${FILESDIR}/$$file ${PREFIX}/majordomo/lists; \
+ done
+ @ ln -sf ${PREFIX}/majordomo/lists/test-l.info ${PREFIX}/majordomo/lists/test-l-digest.info
+ @ ln -sf ${PREFIX}/majordomo/lists/test-l.passwd ${PREFIX}/majordomo/lists/test-l-digest.passwd
+ @ /bin/chmod 660 ${PREFIX}/majordomo/lists/test-l.passwd
+.if !defined(NOMANCOMPRESS)
+ @ for file in approve bounce-remind digest; do \
+ gzip -9nf ${PREFIX}/man/man1/$$file.1; \
+ done
+ @ gzip -9nf ${PREFIX}/man/man8/majordomo.8
+.endif
+ @ /usr/sbin/chown -R majordom.majordom ${PREFIX}/majordomo/lists
+ @ /bin/chmod -R 664 ${PREFIX}/majordomo/lists
+ @ /bin/chmod 775 ${PREFIX}/majordomo/lists
+ @ /bin/chmod 775 ${PREFIX}/majordomo/lists/test-l.archive
+ @ /bin/chmod 775 ${PREFIX}/majordomo/lists/test-l-digest.archive
+ @ /bin/chmod 660 ${PREFIX}/majordomo/lists/*.passwd
+.if !defined(BATCH)
+ @ /usr/bin/more -e ${FILESDIR}/post-install-notes
+.endif
.include <bsd.port.mk>