openbsd-ports/mail/postfix/Makefile
jakob d7dc373e8f update to postfix-19991231-pl06
clean up makefile and fake installation
2000-03-30 19:06:40 +00:00

44 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2000/03/30 19:06:40 jakob Exp $
DISTNAME= postfix-19991231-pl06
CATEGORIES= mail
NEED_VERSION= 1.241
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= jakob@openbsd.org
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
FAKE= yes
NO_CONFIGURE= yes
MAKE_FLAGS= CC="${CC}" DEBUG="" OPT="${CFLAGS}" \
OPTS="CC=\"${CC}\" DEBUG=\"\" OPT=\"${CFLAGS}\""
ALL_TARGET= default
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/postfix
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/postfix
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/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}/lib/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
.include <bsd.port.mk>