Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 20:46:14 GMT
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba5273257f53 - main - lang/yap: Remove the DOCS option and unbreak the build
Message-ID:  <202105132046.14DKkEcL049307@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danilo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ba5273257f5391cd9cf2bdb20e7617ff02930e8f

commit ba5273257f5391cd9cf2bdb20e7617ff02930e8f
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2021-05-13 20:38:58 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2021-05-13 20:43:02 +0000

    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.
---
 lang/yap/Makefile  | 15 +++------------
 lang/yap/pkg-plist |  9 ---------
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105132046.14DKkEcL049307>