aboutsummaryrefslogtreecommitdiff
path: root/mail/exim-doc-html/Makefile
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2003-09-02 14:40:30 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2003-09-02 14:40:30 +0000
commitf1fb133bb603bf51f412647e30c04a684f8285fb (patch)
treeb69725bb0db4c7bf12b14ed1518ab2914f77e8be /mail/exim-doc-html/Makefile
parentfc289a500bda933bc84beed1539886490256e497 (diff)
downloadports-f1fb133bb603bf51f412647e30c04a684f8285fb.tar.gz
ports-f1fb133bb603bf51f412647e30c04a684f8285fb.zip
Exim updates:
1) Update to exiscan-acl patch revision 11. 2) Spin info files off into their own port, exim-doc-info. 3) Pet portlint. PR: ports/56291 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Notes
Notes: svn path=/head/; revision=88360
Diffstat (limited to 'mail/exim-doc-html/Makefile')
-rw-r--r--mail/exim-doc-html/Makefile33
1 files changed, 24 insertions, 9 deletions
diff --git a/mail/exim-doc-html/Makefile b/mail/exim-doc-html/Makefile
index dee58a18f0e2..d65a791afe98 100644
--- a/mail/exim-doc-html/Makefile
+++ b/mail/exim-doc-html/Makefile
@@ -5,32 +5,38 @@
# $FreeBSD$
#
-PORTNAME= exim-doc-${DOCFORMAT}
+PORTNAME= exim
PORTVERSION= 4.20
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_EXIM}
MASTER_SITE_SUBDIR= exim4
-DISTNAME= exim-${DOCFORMAT}-${PORTVERSION}
+PKGNAMESUFFIX= -doc-${DOCFORMAT}
+DISTNAME= exim-${DISTDOCFORMAT}-${PORTVERSION}
DIST_SUBDIR= exim
MAINTAINER= sheldonh@FreeBSD.org
COMMENT= Documentation for the Exim MTA in multiple formats
USE_BZIP2= yes
-NO_BUILD= yes
-DOCSDIR= ${PREFIX}/share/doc/exim
-PLIST= ${WRKDIR}/pkg-plist
+PLIST= ${PKGDIR}/pkg-plist_${DOCFORMAT}
DOCFORMAT?= html
-.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf" && ${DOCFORMAT} != "postscript"
+DISTDOCFORMAT?= ${DOCFORMAT}
+.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf" && ${DOCFORMAT} != "postscript" && ${DOCFORMAT} != "info"
.BEGIN:
@ ${ECHO} 'ERROR: invalid value for DOCFORMAT: "${DOCFORMAT}"'
- @ ${ECHO} 'Possible values are "html", "pdf" and "postscript".'
+ @ ${ECHO} 'Possible values are "html", "pdf", "postscript" and "info".'
@ ${FALSE}
.endif
-pre-install:
- @ ${CP} ${PKGDIR}/pkg-plist_${DOCFORMAT} ${PLIST}
+do-build:
+.if ${DOCFORMAT} == "info"
+ @ cd ${WRKSRC}/doc; \
+ makeinfo --no-split --output exim.info spec.texinfo; \
+ makeinfo --no-split --output exim_filter.info filter.texinfo
+.else
+ @ ${DO_NADA}
+.endif
do-install:
.if !defined(NOPORTDOCS)
@@ -43,6 +49,15 @@ do-install:
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
.elif ${DOCFORMAT} == "postscript"
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
+.elif ${DOCFORMAT} == "info"
+ @ ${INSTALL_DATA} ${WRKSRC}/doc/exim.info ${PREFIX}/info
+ @ install-info --section="Exim" \
+ --entry "* User guide: (exim). Exim manual" \
+ ${PREFIX}/info/exim.info ${PREFIX}/info/dir
+ @ ${INSTALL_DATA} ${WRKSRC}/doc/exim_filter.info ${PREFIX}/info
+ @ install-info --section="Exim" \
+ --entry "* Filtering: (exim_filter). Filtering mail with Exim" \
+ ${PREFIX}/info/exim_filter.info ${PREFIX}/info/dir
.endif
.endif