openbsd-ports/mail/postfix/Makefile.inc
2001-05-29 06:11:36 +00:00

50 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.5 2001/05/29 06:11:36 jakob Exp $
COMMENT= fast, secure sendmail replacement
CATEGORIES= mail
NEED_VERSION= 1.363
MASTER_SITES= ftp://ftp.merit.edu/postfix/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/unix/mail/postfix/%SUBDIR%/ \
ftp://ftp.tau.ac.il/pub/unix/mail/postfix/%SUBDIR%/ \
ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/%SUBDIR%/
DIST_SUBDIR= postfix
HOMEPAGE= http://www.postfix.org/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
MAKE_DEBUG?=
MAKE_CCARGS?=
MAKE_AUXLIBS?=
ALL_TARGET= default
do-configure:
cd ${WRKSRC}; ${MAKE_PROGRAM} makefiles \
CC="${CC}" OPT="${CFLAGS}" DEBUG="${MAKE_DEBUG}" \
CCARGS="${MAKE_CCARGS}" AUXLIBS="${MAKE_AUXLIBS}"
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/postfix
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postfix
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/postfix
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/postfix-enable ${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/postfix-disable ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/libexec/* ${PREFIX}/libexec/postfix
${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/share/examples/postfix
@(cd ${WRKSRC}/man; \
for mandir in man[0-9]; do \
${INSTALL_MAN} $$mandir/* ${PREFIX}/man/$$mandir; \
done)
${INSTALL_DATA} ${WRKSRC}/html/*.html ${PREFIX}/share/doc/postfix
${INSTALL_DATA} ${WRKSRC}/html/*.gif ${PREFIX}/share/doc/postfix