Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 13:35:57 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432741 - in head/multimedia/nordlicht: . files
Message-ID:  <201701291335.v0TDZvKS089712@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Jan 29 13:35:57 2017
New Revision: 432741
URL: https://svnweb.freebsd.org/changeset/ports/432741

Log:
  Update to upstream version 0.4.5
  
  PR:		216326
  Submitted by:	t@tobik.me (maintainer)

Deleted:
  head/multimedia/nordlicht/files/
Modified:
  head/multimedia/nordlicht/Makefile
  head/multimedia/nordlicht/distinfo
  head/multimedia/nordlicht/pkg-plist

Modified: head/multimedia/nordlicht/Makefile
==============================================================================
--- head/multimedia/nordlicht/Makefile	Sun Jan 29 13:23:22 2017	(r432740)
+++ head/multimedia/nordlicht/Makefile	Sun Jan 29 13:35:57 2017	(r432741)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	nordlicht
-PORTVERSION=	0.4.4
+PORTVERSION=	0.4.5
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
 CATEGORIES=	multimedia
 
 MAINTAINER=	t@tobik.me
@@ -20,10 +19,22 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ff
 
 USE_GITHUB=	yes
 
-USES=		cmake:outsource pkgconfig
+USES=		cmake:outsource pkgconfig shebangfix
 USE_LDCONFIG=	yes
 
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
+
 BROKEN_aarch64=		Fails to install: runaway process
 BROKEN_powerpc64=	Does not build
 
+SHEBANG_FILES=	utils/mpv-nordlicht
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' \
+		-e 's|share/man/man1|man/man1|' ${WRKSRC}/CMakeLists.txt
+
+post-install:
+	@cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.mk>

Modified: head/multimedia/nordlicht/distinfo
==============================================================================
--- head/multimedia/nordlicht/distinfo	Sun Jan 29 13:23:22 2017	(r432740)
+++ head/multimedia/nordlicht/distinfo	Sun Jan 29 13:35:57 2017	(r432741)
@@ -1,2 +1,3 @@
-SHA256 (nordlicht-nordlicht-v0.4.4_GH0.tar.gz) = f430b60426a022aad07f5064b7b046e26b18c75606de652c168d23b97cbd13f8
-SIZE (nordlicht-nordlicht-v0.4.4_GH0.tar.gz) = 41252
+TIMESTAMP = 1484929858
+SHA256 (nordlicht-nordlicht-v0.4.5_GH0.tar.gz) = e9f65f631496ed3f1572f74d6f471259f47fb25545b225e97e238b18c152d9d6
+SIZE (nordlicht-nordlicht-v0.4.5_GH0.tar.gz) = 42584

Modified: head/multimedia/nordlicht/pkg-plist
==============================================================================
--- head/multimedia/nordlicht/pkg-plist	Sun Jan 29 13:23:22 2017	(r432740)
+++ head/multimedia/nordlicht/pkg-plist	Sun Jan 29 13:35:57 2017	(r432741)
@@ -2,6 +2,10 @@ bin/nordlicht
 include/nordlicht.h
 lib/libnordlicht.so
 lib/libnordlicht.so.0
-lib/libnordlicht.so.0.4.4
+lib/libnordlicht.so.%%PORTVERSION%%
 libdata/pkgconfig/nordlicht.pc
 man/man1/nordlicht.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpv-nordlicht
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpv-nordlicht.lua
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nordlicht.thumbnailer
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/youtube-nordlicht



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701291335.v0TDZvKS089712>