summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-12-06 20:27:43 +0000
committermarkd <markd@pkgsrc.org>2019-12-06 20:27:43 +0000
commit3ca90055e94e2543c1782cccc48ec6f81771a86d (patch)
tree4022ab4fe933327f3c4de3dca9f4198ac19e8284
parent9103771cebc05e5a52b4b786922ae2bc47981fac (diff)
downloadpkgsrc-3ca90055e94e2543c1782cccc48ec6f81771a86d.tar.gz
texlive: allow new style versioned distfiles.
-rw-r--r--print/texlive/package.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/print/texlive/package.mk b/print/texlive/package.mk
index 9a09bb00e5b..8a5112dce3d 100644
--- a/print/texlive/package.mk
+++ b/print/texlive/package.mk
@@ -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/