pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

texlive-tlpdb: install an empty database



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sun Nov 5 23:42:56 2023 +0200
Changeset:	546e0fcaca354a9e41f4d6c6e35a20dfe02f30a5

Modified Files:
	texlive-tlpdb/DESCR
	texlive-tlpdb/Makefile
Removed Files:
	texlive-tlpdb/distinfo

Log Message:
texlive-tlpdb: install an empty database

Previously, this package installed the entire texlive tlpdb database.

Since pkgsrc is responsible for texlive packages, this database
should be empty. Some programs (such as texdoc) require the database
to be present - so install the empty database.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=546e0fcaca354a9e41f4d6c6e35a20dfe02f30a5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 texlive-tlpdb/DESCR    |  7 ++++---
 texlive-tlpdb/Makefile | 15 ++++-----------
 texlive-tlpdb/distinfo |  5 -----
 3 files changed, 8 insertions(+), 19 deletions(-)

diffs:
diff --git a/texlive-tlpdb/DESCR b/texlive-tlpdb/DESCR
index e85dd64ca8..b883bd55ee 100644
--- a/texlive-tlpdb/DESCR
+++ b/texlive-tlpdb/DESCR
@@ -1,4 +1,5 @@
-TeX Live package database.
+Empty TeX Live package database.
 
-Complete information about a TeX Live installation is stored in
-this database.
+This database is needed for some programs, such as texdoc. However,
+since pkgsrc packages are not managed by the texlive installation
+this database can be empty.
diff --git a/texlive-tlpdb/Makefile b/texlive-tlpdb/Makefile
index 0560ebb32a..e7596324ab 100644
--- a/texlive-tlpdb/Makefile
+++ b/texlive-tlpdb/Makefile
@@ -1,24 +1,17 @@
 # $NetBSD$
 
-DISTNAME=	texlive.tlpdb
-PKGNAME=	texlive-tlpdb-2019.11.04
+PKGNAME=	texlive-tlpdb-1.0
 CATEGORIES=	print
-MASTER_SITES=	http://mirrors.ctan.org/systems/texlive/tlnet/tlpkg/
-EXTRACT_SUFX=	.xz
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://mirrors.ctan.org/systems/texlive/tlnet/tlpkg/
-COMMENT=	TeX Live (plain text) database
-#LICENSE=	# TODO: (see mk/license.mk)
+COMMENT=	TeX Live package database
 
 WRKSRC=		${WRKDIR}
-USE_LANGUAGES=	# none
-USE_TOOLS+=	xzcat
 
 INSTALLATION_DIRS=	share/tlpkg
 
-do-build::
-	${XZCAT} ${WRKDIR}/${DISTFILES} > ${WRKDIR}/texlive.tlpdb
+do-build:
+	${TOUCH} ${WRKDIR}/texlive.tlpdb
 
 do-install:
 	${INSTALL_DATA} ${WRKDIR}/texlive.tlpdb \
diff --git a/texlive-tlpdb/distinfo b/texlive-tlpdb/distinfo
deleted file mode 100644
index 86032bb03f..0000000000
--- a/texlive-tlpdb/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-RMD160 (texlive.tlpdb.xz) = 664230569abaa5574f44dba63d66e42e0758d1e9
-SHA512 (texlive.tlpdb.xz) = 87bb3c5512065d7abb8b0974e7284b1b1af7f9ad16943d614158daf57ccd9fab8d108f0300c839127479a577942b33acef64637afef396d2b508fd1c94efe186
-Size (texlive.tlpdb.xz) = 2127212 bytes


Home | Main Index | Thread Index | Old Index