freebsd-ports/multimedia/nordlicht/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

42 lines
906 B
Makefile

# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= nordlicht
PORTVERSION= 0.4.5
DISTVERSIONPREFIX= v
PORTREVISION= 4
CATEGORIES= multimedia
MAINTAINER= tobik@FreeBSD.org
COMMENT= Create moodbars from video files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BROKEN_aarch64= Fails to install: runaway process
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libpopt.so:devel/popt \
libpng.so:graphics/png
USE_GITHUB= yes
USES= cmake pkgconfig shebangfix
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
SHEBANG_FILES= utils/mpv-nordlicht
OPTIONS_DEFINE= EXAMPLES
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>