blob: 30593f72b3084fcaeb705b58abad44a608a7fb84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= nordlicht
PORTVERSION= 0.4.5
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= tobik@FreeBSD.org
COMMENT= Create moodbars from video files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libpopt.so:devel/popt \
libpng.so:graphics/png
USE_GITHUB= yes
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>
|