1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/majordomo/Makefile

81 lines
2.9 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: majordomo
# Version required: 1.94.4
# Date created: 23 October 1996
# Whom: jfitz@FreeBSD.org
#
1999-08-25 06:51:17 +00:00
# $FreeBSD$
#
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
1996-11-17 07:42:58 +00:00
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
1999-08-28 01:58:05 +00:00
@ ${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
1999-08-22 19:01:07 +00:00
@ ${CHOWN} majordom.majordom ${PREFIX}/majordomo/tmp
@ ${CHMOD} 700 ${PREFIX}/majordomo/tmp
@ ${CHMOD} 755 ${PREFIX}/majordomo
@ for dir in digests lists lists/test-l.archive lists/test-l-digest.archive digests/test-l-digest doc; do \
1999-08-22 19:01:07 +00:00
${CHOWN} majordom.majordom ${PREFIX}/majordomo/$$dir; \
${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
1999-08-28 01:58:05 +00:00
@ ${LN} -sf test-l.info ${PREFIX}/majordomo/lists/test-l-digest.info
@ ${LN} -sf test-l.passwd ${PREFIX}/majordomo/lists/test-l-digest.passwd
1999-08-22 19:01:07 +00:00
@ ${CHMOD} 660 ${PREFIX}/majordomo/lists/test-l.passwd
@ ${CHOWN} -R majordom.majordom ${PREFIX}/majordomo/lists
@ ${CHMOD} -R 664 ${PREFIX}/majordomo/lists
@ ${CHMOD} 775 ${PREFIX}/majordomo/lists
@ ${CHMOD} 775 ${PREFIX}/majordomo/lists/test-l.archive
@ ${CHMOD} 775 ${PREFIX}/majordomo/lists/test-l-digest.archive
@ ${CHMOD} 660 ${PREFIX}/majordomo/lists/*.passwd
.if !defined(BATCH)
@ /usr/bin/more -e ${FILESDIR}/post-install-notes
.endif
.include <bsd.port.mk>