1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Use texlive as build depends instead of tetex

This commit is contained in:
Danilo Egea Gondolfo 2014-07-12 22:10:22 +00:00
parent 5df55640aa
commit df59722a06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361644

View File

@ -3,6 +3,7 @@
PORTNAME= yap
PORTVERSION= 6.2.2
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
@ -10,19 +11,13 @@ MAINTAINER= danilo@FreeBSD.org
COMMENT= High-performance Prolog compiler
PORTSCOUT= limit:^6\.2\.
CONFLICTS= yap-6.3.*
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PLIST_SUB+= PORTDOCS=""
USE_TEX= base texmf latex
BUILD_DEPENDS+= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html
BUILD_DEPENDS+= ${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
.else
PLIST_SUB+= PORTDOCS="@comment "
.endif
DOCS_USE= TEX=formats:build,dvipsk:build,texlive
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:${PORTSDIR}/textproc/texi2html \
${LOCALBASE}/bin/texi2pdf:${PORTSDIR}/print/texinfo
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@ -33,6 +28,8 @@ USE_GCC= any
DOCSDIR= ${PREFIX}/share/doc/Yap
DATADIR= ${PREFIX}/share/Yap
.include <bsd.port.options.mk>
post-build:
.if empty(PORT_OPTIONS:MDOCS)
# prevent the instalation of three docs files