1998-12-16 13:30:46 -05:00
|
|
|
# OpenBSD makefile for: postfix
|
1999-02-02 14:39:16 -05:00
|
|
|
# Version required: beta-19990122
|
1998-12-16 13:30:46 -05:00
|
|
|
# Date created: 1998-Dec-10
|
|
|
|
# Whom: dugsong@OpenBSD.ORG
|
|
|
|
#
|
|
|
|
# Relevant URLs: http://www.postfix.org/
|
|
|
|
# http://www.alphaworks.ibm.com/formula/securemailer/
|
|
|
|
#
|
1999-06-13 12:15:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 1999/06/13 16:15:57 dugsong Exp $
|
1998-12-16 13:30:46 -05:00
|
|
|
|
1999-06-13 12:15:57 -04:00
|
|
|
DISTNAME= postfix-19990601
|
1998-12-16 13:30:46 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
1999-06-13 12:15:57 -04:00
|
|
|
MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \
|
|
|
|
ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
|
|
|
|
ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \
|
|
|
|
ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/
|
1998-12-16 13:30:46 -05:00
|
|
|
|
1999-01-11 21:39:30 -05:00
|
|
|
MAINTAINER= dugsong@monkey.org
|
1998-12-16 13:30:46 -05:00
|
|
|
|
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
|
|
|
ALL_TARGET= default
|
|
|
|
|
|
|
|
pre-install:
|
1999-06-13 12:15:57 -04:00
|
|
|
@${SH} ${PKGDIR}/INSTALL ${DISTNAME} PRE-INSTALL
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@echo
|
|
|
|
@echo "-> Installing postfix commands in ${PREFIX}/sbin"
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/sbin
|
|
|
|
@echo
|
|
|
|
@echo "-> Installing postfix daemons in ${PREFIX}/libexec/postfix"
|
|
|
|
@${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/postfix
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/libexec/* ${PREFIX}/libexec/postfix
|
|
|
|
@echo
|
|
|
|
@echo "-> Installing postfix sample config files in ${PREFIX}/lib/postfix"
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/postfix
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/lib/postfix
|
|
|
|
@echo
|
|
|
|
@echo "-> Installing postfix man pages in ${PREFIX}/man"
|
|
|
|
@( cd ${WRKSRC}/man ; \
|
|
|
|
for mandir in man[0-9] ; do \
|
|
|
|
${INSTALL_MAN} $$mandir/* ${PREFIX}/man/$$mandir ; \
|
|
|
|
done )
|
|
|
|
@echo
|
|
|
|
@echo "-> Installing postfix HTML documentation in ${PREFIX}/share/doc/postfix"
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postfix
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/html/* ${PREFIX}/share/doc/postfix
|
1998-12-16 13:30:46 -05:00
|
|
|
|
|
|
|
post-install:
|
1999-06-13 12:15:57 -04:00
|
|
|
@${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
1998-12-16 13:30:46 -05:00
|
|
|
|
1999-06-13 12:15:57 -04:00
|
|
|
post-deinstall:
|
|
|
|
@${SH} ${PKGDIR}/DEINSTALL ${DISTNAME} DEINSTALL
|
1998-12-16 13:30:46 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|