openbsd-ports/mail/postfix/Makefile
1999-06-13 16:15:57 +00:00

60 lines
1.7 KiB
Makefile

# OpenBSD makefile for: postfix
# Version required: beta-19990122
# Date created: 1998-Dec-10
# Whom: dugsong@OpenBSD.ORG
#
# Relevant URLs: http://www.postfix.org/
# http://www.alphaworks.ibm.com/formula/securemailer/
#
# $OpenBSD: Makefile,v 1.6 1999/06/13 16:15:57 dugsong Exp $
DISTNAME= postfix-19990601
CATEGORIES= mail
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/
MAINTAINER= dugsong@monkey.org
IS_INTERACTIVE= yes
NO_CONFIGURE= yes
ALL_TARGET= default
pre-install:
@${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
post-install:
@${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
post-deinstall:
@${SH} ${PKGDIR}/DEINSTALL ${DISTNAME} DEINSTALL
.include <bsd.port.mk>