aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-07-13 06:10:22 +0800
committerdanilo <danilo@FreeBSD.org>2014-07-13 06:10:22 +0800
commitfd4a1b617405ce2f45bfbbfa8f1dbe49d520b6eb (patch)
tree528163a67d6311e06b419cabd62efe693098b520 /lang
parent51eb694ee0e08c5209a0584a4b251e67295ca989 (diff)
downloadfreebsd-ports-gnome-fd4a1b617405ce2f45bfbbfa8f1dbe49d520b6eb.tar.gz
freebsd-ports-gnome-fd4a1b617405ce2f45bfbbfa8f1dbe49d520b6eb.tar.zst
freebsd-ports-gnome-fd4a1b617405ce2f45bfbbfa8f1dbe49d520b6eb.zip
- Use texlive as build depends instead of tetex
Diffstat (limited to 'lang')
-rw-r--r--lang/yap/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 3890f6da6221..ed376f762b46 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -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