pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/texlive



Module Name:    pkgsrc
Committed By:   markd
Date:           Fri Dec  6 20:27:43 UTC 2019

Modified Files:
        pkgsrc/print/texlive: package.mk

Log Message:
texlive: allow new style versioned distfiles.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/print/texlive/package.mk

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

Modified files:

Index: pkgsrc/print/texlive/package.mk
diff -u pkgsrc/print/texlive/package.mk:1.24 pkgsrc/print/texlive/package.mk:1.25
--- pkgsrc/print/texlive/package.mk:1.24        Mon Feb  1 18:47:23 2016
+++ pkgsrc/print/texlive/package.mk     Fri Dec  6 20:27:43 2019
@@ -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 @@ DIST_SUBDIR?= ${PKGNAME_NOREV}
 .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