2c95fadbcf
PR: 216326 Submitted by: t@tobik.me (maintainer)
40 lines
900 B
Makefile
40 lines
900 B
Makefile
# Created by: Tobias Kortkamp <t@tobik.me>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nordlicht
|
|
PORTVERSION= 0.4.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= t@tobik.me
|
|
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>
|