pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/texlive texlive: allow new style versioned distf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cedac26e0753
branches:  trunk
changeset: 345227:cedac26e0753
user:      markd <markd%pkgsrc.org@localhost>
date:      Fri Dec 06 20:27:43 2019 +0000

description:
texlive: allow new style versioned distfiles.

diffstat:

 print/texlive/package.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 3d6809ef5db7 -r cedac26e0753 print/texlive/package.mk
--- a/print/texlive/package.mk  Fri Dec 06 20:17:03 2019 +0000
+++ b/print/texlive/package.mk  Fri Dec 06 20:27:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.24 2016/02/01 18:47:23 leot Exp $
+# $NetBSD: package.mk,v 1.25 2019/12/06 20:27:43 markd Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # TeX Live packages.
@@ -25,6 +25,10 @@
 #      value of "revision" line usually available in
 #      ${WRKSRC}/tlpkg/tlpobj/${DISTNAME}.tlpobj
 #
+# TEXLIVE_UNVERSIONED
+#      The distfile is an oldstyle unversioned one, normally
+#      retrived from NetBSD repositories.
+#
 # TEX_FORMATS
 #      See ../../print/tex-tetex/format.mk.
 #
@@ -41,6 +45,10 @@
 #
 
 CATEGORIES?=   print
+.if empty(TEXLIVE_UNVERSIONED)
+DISTFILES?=    ${DISTNAME}.r${TEXLIVE_REV}${EXTRACT_SUFX}
+MASTER_SITES?= ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/archive/}
+.else
 .if empty(TEXLIVE_USE_CTAN)
 MASTER_SITES?= ${MASTER_SITE_BACKUP}
 .else
@@ -51,6 +59,7 @@
 .else
 DIST_SUBDIR?=  ${PKGBASE:S/-doc$//}-${TEXLIVE_REV}
 .endif
+.endif
 EXTRACT_SUFX?= .tar.xz
 
 HOMEPAGE?=     http://www.tug.org/texlive/



Home | Main Index | Thread Index | Old Index