pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/youtube-dl Revert possible PKGNAME regression for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f6f19992c2c
branches:  trunk
changeset: 365524:7f6f19992c2c
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Jul 18 18:56:30 2017 +0000

description:
Revert possible PKGNAME regression for dated-and-dotted youtube-dl release
versions.

youtube-dl versions are (strftime(3)-ese, except for optional part):
`%Y.%m.%d[.<i>]'. Preserve the `.<i>' optional part (without accidently
deleting the dot!) for PKGNAME.

diffstat:

 net/youtube-dl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 3220fd290c67 -r 7f6f19992c2c net/youtube-dl/Makefile
--- a/net/youtube-dl/Makefile   Tue Jul 18 18:44:06 2017 +0000
+++ b/net/youtube-dl/Makefile   Tue Jul 18 18:56:30 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.115 2017/07/15 16:11:44 adam Exp $
+# $NetBSD: Makefile,v 1.116 2017/07/18 18:56:30 leot Exp $
 
 VERSION_DATE=  2017.07.15
 DISTNAME=      youtube-dl-${VERSION_DATE}
-PKGNAME=       ${DISTNAME:S/.//g}
+PKGNAME=       ${DISTNAME:S/.//:S/.//}
 CATEGORIES=    net
 MASTER_SITES=  http://youtube-dl.org/downloads/${VERSION_DATE}/
 



Home | Main Index | Thread Index | Old Index