Index: head/mail/majordomo/Makefile =================================================================== --- head/mail/majordomo/Makefile (revision 20165) +++ head/mail/majordomo/Makefile (revision 20166) @@ -1,73 +1,80 @@ # New ports collection makefile for: majordomo # Version required: 1.94.4 # Date created: 23 October 1996 # Whom: jfitz@FreeBSD.ORG # -# $Id: Makefile,v 1.14 1999/04/21 00:39:27 scrappy Exp $ +# $Id: Makefile,v 1.15 1999/07/04 21:20:21 steve Exp $ # DISTNAME= majordomo-1.94.4 CATEGORIES= mail MASTER_SITES= ftp://ftp.sgi.com/other/majordomo/1.94.4/ \ ftp://ftp-europe.sgi.com/other/majordomo/1.94.4/ # ftp://ftp.greatcircle.com/pub/majordomo/1.94.3/ \ EXTRACT_SUFX= .tgz MAINTAINER= jfitz@FreeBSD.ORG Y2K= http://www.greatcircle.com/majordomo/majordomo-faq.html#1.8 # Needs to create a user and group IS_INTERACTIVE= yes NO_PACKAGE= "User and group need to be created" ALL_TARGET= wrapper INSTALL_TARGET= install install-wrapper MAN1= approve.1 bounce-remind.1 digest.1 MAN8= majordomo.8 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: +.for file in ${MAN1} + @ ${INSTALL_MAN} ${WRKSRC}/Doc/man/${file} ${PREFIX}/man/man1 +.endfor +.for file in ${MAN8} + @ ${INSTALL_MAN} ${WRKSRC}/Doc/man/${file} ${PREFIX}/man/man8 +.endfor + @ ln -sf archive2.pl ${PREFIX}/majordomo/archive @ for dir in tmp lists/test-l.archive lists/test-l-digest.archive digests/test-l-digest doc; do \ ${MKDIR} ${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 test-l.info ${PREFIX}/majordomo/lists/test-l-digest.info @ ln -sf test-l.passwd ${PREFIX}/majordomo/lists/test-l-digest.passwd @ /bin/chmod 660 ${PREFIX}/majordomo/lists/test-l.passwd @ /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 Property changes on: head/mail/majordomo/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.15 \ No newline at end of property +1.16 \ No newline at end of property Index: head/mail/majordomo/files/patch-aa =================================================================== --- head/mail/majordomo/files/patch-aa (revision 20165) +++ head/mail/majordomo/files/patch-aa (revision 20166) @@ -1,44 +1,53 @@ ---- Makefile.orig Thu Aug 28 00:56:21 1997 -+++ Makefile Wed Sep 10 00:56:08 1997 -@@ -12,22 +12,22 @@ +--- Makefile.orig Wed Aug 27 08:56:21 1997 ++++ Makefile Sat Jul 10 23:28:11 1999 +@@ -13,22 +13,22 @@ # # Put the location of your Perl binary here: -PERL = /bin/perl +PERL = /usr/bin/perl # What do you call your C compiler? CC = cc # Where do you want Majordomo to be installed? This CANNOT be the # current directory (where you unpacked the distribution) -W_HOME = /usr/test/majordomo-$(VERSION) +W_HOME = ${PREFIX}/majordomo # Where do you want man pages to be installed? -MAN = $(W_HOME)/man +MAN = ${PREFIX}/man # You need to have or create a user and group which majordomo will run as. # Enter the numeric UID and GID (not their names!) here: -W_USER = 123 -W_GROUP = 45 +W_USER = %%MJUID%% +W_GROUP = %%MJGID%% # These set the permissions for all installed files and executables (except # the wrapper), respectively. Some sites may wish to make these more @@ -62,11 +62,11 @@ # parent process, and without the leading "W_" in the variable names) gets # passed to processes run by "wrapper" W_SHELL = /bin/sh -W_PATH = /bin:/usr/bin:/usr/ucb +W_PATH = /bin:/usr/bin W_MAJORDOMO_CF = $(W_HOME)/majordomo.cf # A directory for temp files.. -TMPDIR = /usr/tmp +TMPDIR ?= /var/tmp #--------YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW THIS LINE.------------- +@@ -103,7 +103,7 @@ + @echo " install-scripts: only install the scripts." + @echo " wrapper: only make wrapper." + +-install: wrapper install-scripts install-cf install-man ++install: wrapper install-scripts install-cf + @echo "" + @echo "To finish the installation, 'su' to root and type:" + @echo "" Property changes on: head/mail/majordomo/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property