mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support stage
- Update to the recent 4.82.1 version - Set expiration for texinfo documentation since exim no longer provides it - Take maintainership
This commit is contained in:
parent
8d1053da9c
commit
a62d8aae1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360749
@ -2,32 +2,39 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= exim
|
PORTNAME= exim
|
||||||
PORTVERSION= 4.71
|
PORTVERSION= 4.82.1
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/} \
|
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
|
||||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
MASTER_SITE_SUBDIR= exim4/:exim
|
||||||
http://dryice.name/computer/FreeBSD/distfiles/
|
|
||||||
MASTER_SITE_SUBDIR= exim4/:exim dryice/:local
|
|
||||||
PKGNAMESUFFIX= -doc-${DOCFORMAT}
|
PKGNAMESUFFIX= -doc-${DOCFORMAT}
|
||||||
DISTNAME= exim-${DISTDOCFORMAT}-${PORTVERSION}
|
DISTNAME= exim-${DISTDOCFORMAT}-${PORTVERSION}
|
||||||
DISTFILES= ${DISTNAME}.tar.bz2:exim,local
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:exim
|
||||||
DIST_SUBDIR= exim
|
DIST_SUBDIR= exim
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= vsevolod@FreeBSD.org
|
||||||
COMMENT= Documentation for the Exim MTA in multiple formats
|
COMMENT= Documentation for the Exim MTA in multiple formats
|
||||||
|
|
||||||
USES= makeinfo tar:bzip2
|
USES= tar:bzip2
|
||||||
NO_STAGE= yes
|
|
||||||
|
|
||||||
DOCFORMAT?= html
|
DOCFORMAT?= html
|
||||||
DISTDOCFORMAT?= ${DOCFORMAT}
|
DISTDOCFORMAT?= ${DOCFORMAT}
|
||||||
|
AVAILABLE_FORMATS= html \
|
||||||
|
pdf \
|
||||||
|
postscript
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
.if ${DOCFORMAT} == "info"
|
.if make(makesum) && !defined(FETCH_ALL)
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
.error "You forgot to define FETCH_ALL to create the sane distinfo"
|
||||||
MAKEINFO= ${LOCALBASE}/bin/makeinfo
|
.endif
|
||||||
|
|
||||||
|
.if defined(FETCH_ALL)
|
||||||
|
. for _df in ${AVAILABLE_FORMATS}
|
||||||
|
. if ${_df} != ${DOCFORMAT}
|
||||||
|
DISTFILES+= exim-${_df}-${PORTVERSION}${EXTRACT_SUFX}:exim
|
||||||
|
. endif
|
||||||
|
. endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
.if ${DOCFORMAT} == "html"
|
.if ${DOCFORMAT} == "html"
|
||||||
PORTDOCS= html
|
PORTDOCS= html
|
||||||
.elif ${DOCFORMAT} == "pdf"
|
.elif ${DOCFORMAT} == "pdf"
|
||||||
@ -35,46 +42,25 @@ PORTDOCS= *.pdf
|
|||||||
.elif ${DOCFORMAT} == "postscript"
|
.elif ${DOCFORMAT} == "postscript"
|
||||||
PORTDOCS= *.ps
|
PORTDOCS= *.ps
|
||||||
.elif ${DOCFORMAT} == "info"
|
.elif ${DOCFORMAT} == "info"
|
||||||
PLIST= ${PKGDIR}/pkg-plist_${DOCFORMAT}
|
IGNORE= exim no longer provides documentation in info format
|
||||||
.else
|
.else
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@ ${ECHO} 'ERROR: invalid value for DOCFORMAT: "${DOCFORMAT}"'
|
@ ${ECHO} 'ERROR: invalid value for DOCFORMAT: "${DOCFORMAT}"'
|
||||||
@ ${ECHO} 'Possible values are "html", "pdf", "postscript" and "info".'
|
@ ${ECHO} 'Possible values are "html", "pdf", and "postscript".'
|
||||||
@ ${FALSE}
|
@ ${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
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:
|
do-install:
|
||||||
.if !defined(NOPORTDOCS)
|
@ ${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@ ${MKDIR} ${DOCSDIR}
|
|
||||||
.if ${DOCFORMAT} == "html"
|
.if ${DOCFORMAT} == "html"
|
||||||
${TAR} -C ${WRKSRC}/doc -cf - html | \
|
${TAR} -C ${WRKSRC}/doc -cf - html | \
|
||||||
${TAR} --unlink -C ${DOCSDIR} -xf -
|
${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf -
|
||||||
.elif ${DOCFORMAT} == "pdf"
|
.elif ${DOCFORMAT} == "pdf"
|
||||||
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||||
.elif ${DOCFORMAT} == "postscript"
|
.elif ${DOCFORMAT} == "postscript"
|
||||||
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${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
|
|
||||||
.else
|
.else
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
SHA256 (exim/exim-html-4.71.tar.bz2) = 55175071a651441f8baed45438fc40fc3e45681a6c700348c38af28991dedfb0
|
SHA256 (exim/exim-html-4.82.1.tar.bz2) = 81d0237cff64b259d47c758d5c82da93bd2e7b8ce048974d53d90e597eee122e
|
||||||
SIZE (exim/exim-html-4.71.tar.bz2) = 796004
|
SIZE (exim/exim-html-4.82.1.tar.bz2) = 458569
|
||||||
SHA256 (exim/exim-texinfo-4.71.tar.bz2) = b39f051babc853f1e4a788521b71489627853bd314c34204de358e890bc315b0
|
SHA256 (exim/exim-pdf-4.82.1.tar.bz2) = 2e3705504f22633a14d417ffcb72c6beddc2f142e38ff4f01394b83ae583ff42
|
||||||
SIZE (exim/exim-texinfo-4.71.tar.bz2) = 364841
|
SIZE (exim/exim-pdf-4.82.1.tar.bz2) = 1835284
|
||||||
SHA256 (exim/exim-pdf-4.71.tar.bz2) = c437d7dae147d6095bcd3316b79d74aa90e30b5a6627924a125a834761eb8158
|
SHA256 (exim/exim-postscript-4.82.1.tar.bz2) = f9c69153b1da3ef854c73ac98ec5bcef842438c5630819bc2287dec869bd039d
|
||||||
SIZE (exim/exim-pdf-4.71.tar.bz2) = 1661652
|
SIZE (exim/exim-postscript-4.82.1.tar.bz2) = 1008574
|
||||||
SHA256 (exim/exim-postscript-4.71.tar.bz2) = 7385546a39136c3f82c2c5fa43fcef41adf6054824c327ca4019b83dab0eff0d
|
|
||||||
SIZE (exim/exim-postscript-4.71.tar.bz2) = 897250
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
|
|
||||||
%%PORTDOCS%%@unexec install-info --delete %D/info/exim.info %D/info/dir
|
|
||||||
%%PORTDOCS%%info/exim.info
|
|
||||||
%%PORTDOCS%%@exec install-info --section="Exim" --entry "* User guide: (exim). Exim manual" %D/%F %B/dir
|
|
||||||
%%PORTDOCS%%@unexec install-info --delete %D/info/exim_filter.info %D/info/dir
|
|
||||||
%%PORTDOCS%%info/exim_filter.info
|
|
||||||
%%PORTDOCS%%@exec install-info --section="Exim" --entry "* Filtering: (exim_filter). Filtering mail with Exim" %D/%F %B/dir
|
|
@ -1,8 +1,9 @@
|
|||||||
# Created by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
|
# Created by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
DOCFORMAT= info
|
|
||||||
DISTDOCFORMAT= texinfo
|
|
||||||
MASTERDIR= ${.CURDIR}/../exim-doc-html
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
IGNORE= exim no is no longer provided with documentation in info format
|
||||||
|
DEPRECATED= yes
|
||||||
|
EXPIRATION_DATE= 2014-07-30
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
|
@ -4,5 +4,4 @@
|
|||||||
DOCFORMAT= pdf
|
DOCFORMAT= pdf
|
||||||
MASTERDIR= ${.CURDIR}/../exim-doc-html
|
MASTERDIR= ${.CURDIR}/../exim-doc-html
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
@ -4,5 +4,4 @@
|
|||||||
DOCFORMAT= postscript
|
DOCFORMAT= postscript
|
||||||
MASTERDIR= ${.CURDIR}/../exim-doc-html
|
MASTERDIR= ${.CURDIR}/../exim-doc-html
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
Loading…
Reference in New Issue
Block a user