pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/texlive2pkg ve2pkg: fix shell syntax. Allow v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/437ef7b5aef1
branches:  trunk
changeset: 383509:437ef7b5aef1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Aug 19 18:31:23 2022 +0000

description:
ve2pkg: fix shell syntax. Allow versioned doc tarballs.

Bump version.

diffstat:

 pkgtools/texlive2pkg/Makefile             |   7 ++-----
 pkgtools/texlive2pkg/files/texlive2pkg.sh |  22 +++++++++++-----------
 2 files changed, 13 insertions(+), 16 deletions(-)

diffs (72 lines):

diff -r f0c3a0b60de3 -r 437ef7b5aef1 pkgtools/texlive2pkg/Makefile
--- a/pkgtools/texlive2pkg/Makefile     Fri Aug 19 18:23:41 2022 +0000
+++ b/pkgtools/texlive2pkg/Makefile     Fri Aug 19 18:31:23 2022 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2022/06/28 11:35:26 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.20 2022/08/19 18:31:23 wiz Exp $
 
-PKGNAME=       texlive2pkg-1.11
-PKGREVISION=   1
+PKGNAME=       texlive2pkg-1.12
 CATEGORIES=    pkgtools
 
 MAINTAINER=    markd%NetBSD.org@localhost
@@ -15,7 +13,6 @@
 NO_BUILD=              yes
 USE_LANGUAGES=         # none
 USE_TOOLS+=            ftp:run perl:run xzcat:run
-AUTO_MKDIRS=           yes
 
 SUBST_CLASSES+=                tools
 SUBST_STAGE.tools=     pre-configure
diff -r f0c3a0b60de3 -r 437ef7b5aef1 pkgtools/texlive2pkg/files/texlive2pkg.sh
--- a/pkgtools/texlive2pkg/files/texlive2pkg.sh Fri Aug 19 18:23:41 2022 +0000
+++ b/pkgtools/texlive2pkg/files/texlive2pkg.sh Fri Aug 19 18:31:23 2022 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 # texlive2pkg
-# $NetBSD: texlive2pkg.sh,v 1.3 2019/09/13 13:43:30 rillig Exp $
+# $NetBSD: texlive2pkg.sh,v 1.4 2022/08/19 18:31:23 wiz Exp $
 #
 # Copyright (c) 2016
 #       Mark Davies.  All rights reserved.
@@ -67,12 +67,12 @@
 case $pkgtarball in
 file:/*.tar.xz | ftp:/*.tar.xz | http:/*.tar.xz | https:/*.tar.xz )
    pkgurl=1
-   break ;;
+    ;;
 /*.tar.xz)
-   break ;;
+    ;;
 *.tar.xz)
    pkgtarball=$PWD/$pkgtarball
-   break ;;
+    ;;
 *)
    echo "${usage}" 1>&2
    exit 1
@@ -80,15 +80,15 @@
 
 case "$doctarball" in
 "")
-   break ;;
-file:/*.doc.tar.xz | ftp:/*.tar.xz | http:/*.doc.tar.xz | https:/*.doc.tar.xz )
+    ;;
+file:/*.doc*.tar.xz | ftp:/*.doc*.tar.xz | http:/*.doc*.tar.xz | https:/*.doc*.tar.xz )
    docurl=1
-   break ;;
-/*.doc.tar.xz)
-   break ;;  
-*.doc.tar.xz)
+    ;;
+/*.doc*.tar.xz)
+    ;;  
+*.doc*.tar.xz)
    doctarball=$PWD/$doctarball
-   break ;;
+    ;;
 *)
    echo "${usage}" 1>&2
    exit 1



Home | Main Index | Thread Index | Old Index