freebsd-ports/mail/exim-doc-html/Makefile
Sheldon Hearn 71de2357c8 I agree with the Exim community that the exim-4.xx has reached production
quality.

Move exim to exim-old for folks who need exim-3.xx, because the
configuration file for exim-4.xx is not backward compatible.  Move
exim-devel to exim, removing NO_LATEST_LINK:

        repo-copy       exim            -> exim-old
        copy over       exim-devel      -> exim
        retire          exim-devel

Slave ports are intended for use with the exim port, as before, so they
now build and install for exim-4.xx.
2002-09-12 10:09:02 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: exim-doc-html
# Date created: 27 November 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= exim-doc-${DOCFORMAT}
PORTVERSION= 4.10
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
http://www.exim.org/ftp/exim3/ \
ftp://ftp.is.co.za/networking/mail/transport/exim/
DISTNAME= exim-${DOCFORMAT}-${PORTVERSION}
MAINTAINER= sheldonh@FreeBSD.org
USE_BZIP2= yes
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/exim
PLIST= ${WRKDIR}/pkg-plist
DOCFORMAT?= html
.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf" && ${DOCFORMAT} != "postscript"
.BEGIN:
@ ${ECHO} 'ERROR: invalid value for DOCFORMAT: "${DOCFORMAT}"'
@ ${ECHO} 'Possible values are "html", "pdf" and "postscript".'
@ ${FALSE}
.endif
pre-install:
@ ${CP} ${PKGDIR}/pkg-plist_${DOCFORMAT} ${PLIST}
do-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
.if ${DOCFORMAT} == "html"
@ ${MKDIR} ${DOCSDIR}/html
@ ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html
@ ${INSTALL_DATA} ${WRKSRC}/doc/html/*.gif ${DOCSDIR}/html
.elif ${DOCFORMAT} == "pdf"
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
.elif ${DOCFORMAT} == "postscript"
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
.endif
.endif
.include <bsd.port.mk>