Received: by mail.netbsd.org (Postfix, from userid 605) id CA9F084D5E; Wed, 14 Aug 2019 17:31:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4FB2484D54 for ; Wed, 14 Aug 2019 17:31:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id hSHIn73SGSaa for ; Wed, 14 Aug 2019 17:31:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id C9C9184CE9 for ; Wed, 14 Aug 2019 17:31:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C2C85FBF4; Wed, 14 Aug 2019 17:31:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1565803894273270" MIME-Version: 1.0 Date: Wed, 14 Aug 2019 17:31:34 +0000 From: "Brook Milligan" Subject: CVS commit: pkgsrc/doc/guide/files To: pkgsrc-changes@NetBSD.org Reply-To: brook@netbsd.org X-Mailer: log_accum Message-Id: <20190814173134.C2C85FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1565803894273270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: brook Date: Wed Aug 14 17:31:34 UTC 2019 Modified Files: pkgsrc/doc/guide/files: creating.xml Log Message: Add a section to "Common packages" describing a typical TeXlive package. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 pkgsrc/doc/guide/files/creating.xml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1565803894273270 Content-Disposition: inline Content-Length: 2170 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/guide/files/creating.xml diff -u pkgsrc/doc/guide/files/creating.xml:1.29 pkgsrc/doc/guide/files/creating.xml:1.30 --- pkgsrc/doc/guide/files/creating.xml:1.29 Wed Aug 14 17:26:31 2019 +++ pkgsrc/doc/guide/files/creating.xml Wed Aug 14 17:31:34 2019 @@ -1,4 +1,4 @@ - + Creating a new pkgsrc package from scratch @@ -214,6 +214,42 @@ package should be reviewed for correctne + +TeXlive packages + +TeXlive packages from CTAN are handled automatically by +texlive2pkg, which is available in pkgtools/texlive2pkg. + +If the TeXlive package name is not known, it may be useful to +search CTAN. A +Contained in field on the package page typically +identifies the basename of the package file in the TeXlive +archive. + +If the TeXlive package name is known, download the files from +the TeXlive +archive. For package foo, you will need +to download foo.tar.xz. Most TeXlive packages +also have associated documentation packages, so download +foo.doc.tar.xz at the same time. These files +should be placed in the appropriate category directory, which is often +but not always print. Then run the following +command in the category directory. + + +texlive2pkg foo.tar.xz foo.doc.tar.xz + + +This will create two packages, tex-foo and +tex-foo-doc. Be sure to check that both packages +are correct. + + + --_----------=_1565803894273270--