From nobody Tue Oct 24 13:08:43 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SFC6z2Vn5z4y25v; Tue, 24 Oct 2023 13:08:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFC6z24tJz4W6N; Tue, 24 Oct 2023 13:08:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698152923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MOrld7G70NvL5aIxyevQ9vDDKxdIoExvj30mr3jIECs=; b=Tf6sQLshiQL7fNhRtLCrSApOOL4cZNNdgaaHJsWds++OIHg3birX338tzyLDCTq6XXFiv+ WojEPCSGWBuNda/OJr68pKYG8fxveEwYGGWoaXGPwESW4eUhMwDjLEZ/zD25o5gcLPetlW GgzSIwdXAtzsFbaAa6+ZTxj9eSEdt1OH5673QLAYoOMOVzqA6q2JTGgHr2dj9EjCW/B3J7 fhvfRTA/FVJ0DNPZX/bDtKo5dBvG7tbo57ppCed1+qqmvOfd2mpiMZHIu05ccADyZgrSce id9vWt327I3d1pMCH1tMS9DbCwzGcvY4Ceu0Rszgbd0fFRQTNTqb1BL07nMw0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698152923; a=rsa-sha256; cv=none; b=BkWYfeJtvcByByIBLZdlOdXY+AlRD6vsagVP5Fm5p6ZRXaB1jyFFE+ixAq8Oyrrd1HYuuc yyElyITFREM9Qlm8g1C1tH9+Y/owmuCWV/mu041m5Y4TiSFQyCaSkNLnJYY9G1vz7n+vRi KPwxMa7JOc0CeFtDTpp91V0VDY+XIXEvQy5Td17dsQqTN9ZFbF4ngUMStSvjOKeSO7IwUI L5gQHBIANY5+x2qJZMXYuMOblKXIvBzUVEXzTDDZLlj1/r33P5ZW0ExBisgLlKbM32hGRe RoO1kZtL19WoOy5dvi8+H+shNd/Znbzh0gC43xD2eTV7aFutQ61lpQ/kXNjjtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698152923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MOrld7G70NvL5aIxyevQ9vDDKxdIoExvj30mr3jIECs=; b=UakYkbZMd0/gbAIwV2tuXopooe8SLj93xzW0H7ugOYo7bpkvvUjpBeILZm0QjOVw/C9JQ5 bV1StcCTa0+bxr0+vSwF9lgbYvNcJxss7jNNHUzf0UVcamLs/4Bkz4SKxQDbO6CEM3AE38 daN9kJ6wvDAEhZ8ueSXOELg4RHk44vIwV4gf+t3aXvw69MKhNJxPb+hktYYvpGQEtz31Xb uHSnApBFqW0odyZ4+oYpa46ltR1DlghoDBRu2o+875pHaq6qhEeKza+T3OmRpfQlcN6wyi rBAaa8GroJ8RSW543ye38iFAYx8VEJF2t64XIQocz+qyxH8+WMbaCtqDqwQHpw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SFC6z1C1Lz8q8; Tue, 24 Oct 2023 13:08:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39OD8hb6038927; Tue, 24 Oct 2023 13:08:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39OD8hZt038924; Tue, 24 Oct 2023 13:08:43 GMT (envelope-from git) Date: Tue, 24 Oct 2023 13:08:43 GMT Message-Id: <202310241308.39OD8hZt038924@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 05056ba2d46a - main - print/latex2rtf: Update version 2.3.17=>2.3.18 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05056ba2d46a5be1386735c5c589f2950f82b6fd Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=05056ba2d46a5be1386735c5c589f2950f82b6fd commit 05056ba2d46a5be1386735c5c589f2950f82b6fd Author: Muhammad Moinur Rahman AuthorDate: 2023-10-23 15:34:29 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-10-24 13:08:27 +0000 print/latex2rtf: Update version 2.3.17=>2.3.18 - Remove USES=makeinfo - Pet portclippy - Adopt port --- print/latex2rtf/Makefile | 24 ++++++++---- print/latex2rtf/distinfo | 6 +-- print/latex2rtf/files/patch-Makefile | 74 +++++++++++++++++++++++++++--------- 3 files changed, 74 insertions(+), 30 deletions(-) diff --git a/print/latex2rtf/Makefile b/print/latex2rtf/Makefile index eeff59277cbb..c48210d42bdb 100644 --- a/print/latex2rtf/Makefile +++ b/print/latex2rtf/Makefile @@ -1,26 +1,34 @@ PORTNAME= latex2rtf -DISTVERSION= 2.3.17 -PORTREVISION= 1 +DISTVERSION= 2.3.18 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION}a -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Translator from LaTeX to RTF WWW= http://latex2rtf.sourceforge.net/ -USES= cpe shebangfix makeinfo -SHEBANG_FILES= ${WRKSRC}/scripts/latex2png +LICENSE= GPLv2+ +USES= cpe shebangfix CPE_VENDOR= latex2rtf_project +SHEBANG_FILES= ${WRKSRC}/scripts/latex2png + +MAKE_ARGS+= MANDIR=${PREFIX}/man/man1 CFGDIR=${DATADIR}/cfg \ + BINDIR=${PREFIX}/bin + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + OPTIONS_DEFINE= LATEX2PNG -LATEX2PNG_DESC= Install latex2png utility OPTIONS_SUB= yes +LATEX2PNG_DESC= Install latex2png utility + LATEX2PNG_USES= magick:6,run tex LATEX2PNG_USE= TEX=dvipsk,latex,xetex -MAKE_ARGS+= MANDIR=${PREFIX}/man/man1 CFGDIR=${DATADIR}/cfg \ - BINDIR=${PREFIX}/bin +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/print/latex2rtf/distinfo b/print/latex2rtf/distinfo index fa06f1b905c2..c6c5986cd2fe 100644 --- a/print/latex2rtf/distinfo +++ b/print/latex2rtf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1580378261 -SHA256 (latex2rtf-2.3.17.tar.gz) = 19f3763177d8ea7735511438de269b78c24ccbfafcd71d7a47aabc20b9ea05a8 -SIZE (latex2rtf-2.3.17.tar.gz) = 1656072 +TIMESTAMP = 1698073444 +SHA256 (latex2rtf-2.3.18a.tar.gz) = 338ba2e83360f41ded96a0ceb132db9beaaf15018b36101be2bae8bb239017d9 +SIZE (latex2rtf-2.3.18a.tar.gz) = 2109122 diff --git a/print/latex2rtf/files/patch-Makefile b/print/latex2rtf/files/patch-Makefile index b0fe1f6c769c..fdc8bd77e584 100644 --- a/print/latex2rtf/files/patch-Makefile +++ b/print/latex2rtf/files/patch-Makefile @@ -1,27 +1,35 @@ ---- ./Makefile.orig 2013-11-12 06:44:44.000000000 -0200 -+++ ./Makefile 2014-07-24 21:27:45.000000000 -0300 -@@ -151,10 +151,10 @@ - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(BINARY_NAME) - - cfg.o: Makefile cfg.c -- $(CC) $(CFLAGS) -DCFGDIR=\"$(DESTDIR)$(CFGDIR)\" -c cfg.c -o cfg.o -+ $(CC) $(CFLAGS) -DCFGDIR=\"$(CFGDIR)\" -c cfg.c -o cfg.o - - main.o: Makefile main.c -- $(CC) $(CFLAGS) -DCFGDIR=\"$(DESTDIR)$(CFGDIR)\" -c main.c -o main.o -+ $(CC) $(CFLAGS) -DCFGDIR=\"$(CFGDIR)\" -c main.c -o main.o - - check test: latex2rtf +--- Makefile.orig 2020-05-30 14:08:19 UTC ++++ Makefile +@@ -138,7 +138,7 @@ TEST= \ + test/enc_ot2.tex test/keywords.tex test/bib_natbib4.tex \ + test/graphicspath.tex test/bib_style.tex test/tikz.tex \ + test/tikz2.tex +- ++ + OBJS=fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o \ + chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o \ + preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o \ +@@ -163,7 +163,7 @@ check test: latex2rtf + cd test && $(MAKE) clean + cd test && $(MAKE) + cd test && $(MAKE) check +- ++ + fullcheck: latex2rtf + cd scripts && $(MAKE) cd test && $(MAKE) clean -@@ -209,7 +209,6 @@ - cd doc && $(MAKE) -k +@@ -209,10 +209,8 @@ releasedate: + $(RM) version.h.bak + + doc: doc/latex2rtf.texi doc/Makefile +- cd doc && $(MAKE) -k install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/latex2png - cd doc && $(MAKE) $(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(MANDIR) $(MKDIR) $(DESTDIR)$(CFGDIR) -@@ -217,9 +216,6 @@ +@@ -220,24 +218,7 @@ install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/lat cp -p doc/latex2rtf.1 $(DESTDIR)$(MANDIR) cp -p doc/latex2png.1 $(DESTDIR)$(MANDIR) cp -p $(CFGS) $(DESTDIR)$(CFGDIR) @@ -29,5 +37,33 @@ - cp -p doc/latex2rtf.pdf $(DESTDIR)$(SUPPORTDIR) - cp -p doc/latex2rtf.txt $(DESTDIR)$(SUPPORTDIR) cp -p $(BINARY_NAME) $(DESTDIR)$(BINDIR) - @echo "******************************************************************" - @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\"" +- @echo "******************************************************************" +- @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\"" +- @echo "*** in directory \"$(BINDIR)\"" +- @echo "***" +- @echo "*** \"make install-info\" will install TeXInfo files " +- @echo "***" +- @echo "*** latex2rtf was compiled to search for its configuration files in" +- @echo "*** \"$(CFGDIR)\" " +- @echo "***" +- @echo "*** If the configuration files are moved then either" +- @echo "*** 1) set the environment variable RTFPATH to this new location, or" +- @echo "*** 2) use the command line option -P /path/to/cfg, or" +- @echo "*** 3) edit the Makefile and recompile" +- @echo "******************************************************************" + + install-info: doc/latex2rtf.info + $(MKDIR) $(DESTDIR)$(INFODIR) +@@ -252,10 +233,10 @@ realclean: checkdir clean + appleclean: + sudo xattr -r -d com.apple.FinderInfo ../trunk + sudo xattr -r -d com.apple.TextEncoding ../trunk +- ++ + splint: + splint -weak $(SRCS) $(HDRS) +- ++ + .PHONY: all check checkdir clean depend dist doc install install_info realclean latex2rtf uptodate releasedate splint fullcheck + + # created using "make depend"