aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2021-05-13 20:38:58 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2021-05-13 20:43:02 +0000
commitba5273257f5391cd9cf2bdb20e7617ff02930e8f (patch)
treecdf059aca982ac042df6ec6e0bd1aa181c96b5c8
parent1058594d4f18ff59825fd0b835797ac7c82149fe (diff)
downloadports-ba5273257f5391cd9cf2bdb20e7617ff02930e8f.tar.gz
ports-ba5273257f5391cd9cf2bdb20e7617ff02930e8f.zip
lang/yap: Remove the DOCS option and unbreak the build
The fact that it depends on an entire LaTeX infrastructure just to build the pdf manual is not ideal. Also, based on its github repository, this project seems to be abandoned so maybe we should just remove it from the ports tree at some point. Drop maintainership.
-rw-r--r--lang/yap/Makefile15
-rw-r--r--lang/yap/pkg-plist9
2 files changed, 3 insertions, 21 deletions
diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index ccaa9d201127..2da682940329 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -2,13 +2,13 @@
PORTNAME= yap
PORTVERSION= 6.2.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= lang
MASTER_SITES= https://mirrors.dotsrc.org/mirrors/exherbo/ \
http://ftp.lyx.org/pub/minix/distfiles/backup/ \
http://tenampak.izt.uam.mx/programas/
-MAINTAINER= danilo@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= High-performance Prolog compiler
BROKEN_riscv64= fails to build: procedure chr_translate/2 is undefined, called from context prolog:once/1
@@ -16,14 +16,6 @@ BROKEN_riscv64= fails to build: procedure chr_translate/2 is undefined, called
LIB_DEPENDS= libgmp.so:math/gmp
PORTSCOUT= limit:^6\.2\.
-CONFLICTS= yap-6.3.*
-
-OPTIONS_DEFINE= DOCS
-
-DOCS_USE= TEX=formats:build,dvipsk:build
-DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/texi2html:textproc/texi2html \
- ${LOCALBASE}/bin/texi2pdf:print/texinfo
-DOCS_INSTALL_TARGET= install install_docs
USES= gmake localbase readline
USE_LDCONFIG= yes
@@ -31,10 +23,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-max-performance \
--disable-myddas
-DOCSDIR= ${PREFIX}/share/doc/Yap
DATADIR= ${PREFIX}/share/Yap
-post-build-DOCS-off:
+post-configure:
# prevent the instalation of three docs files
${REINPLACE_CMD} -e '559,562d' ${WRKSRC}/Makefile
diff --git a/lang/yap/pkg-plist b/lang/yap/pkg-plist
index e43f78085439..f5ef0a9d8880 100644
--- a/lang/yap/pkg-plist
+++ b/lang/yap/pkg-plist
@@ -115,15 +115,6 @@ lib/Yap/pl-minisat.so
lib/libYap.a
lib/web/css/dirindex.css
lib/web/css/openid.css
-%%PORTDOCS%%%%DOCSDIR%%/Artistic
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/yap.html
-%%PORTDOCS%%%%DOCSDIR%%/yap.pdf
-%%PORTDOCS%%%%DOCSDIR%%/changes4.3.html
-%%PORTDOCS%%%%DOCSDIR%%/changes-5.0.html
-%%PORTDOCS%%%%DOCSDIR%%/changes-5.1.html
-%%PORTDOCS%%%%DOCSDIR%%/changes-6.0.html
%%DATADIR%%/pl/arith.yap
%%DATADIR%%/pl/arrays.yap
%%DATADIR%%/pl/attributes.yap