ports/multimedia/gst123/Makefile
mew14930xvi a19f517290 multimedia/gst123: Fix build on 13
Can't find ncurses during configure stage:
checking for ncurses >= 5... no
checking for ncurses6-config... false
checking for ncurses5-config... (cached) false
checking for ncurses-config... (cached) false
configure: error: Neither pkgconfig(ncurses) nor ncurses-config was found.
===>  Script "configure" failed unexpectedly.

PR:	284122
Fixes:	716c8f511a (Update 0.3.3 → 0.4.1 and remove DEPRECATED)
2025-01-18 19:18:56 +03:00

33 lines
901 B
Makefile

PORTNAME= gst123
DISTVERSION= 0.4.1
CATEGORIES= multimedia
MASTER_SITES= https://github.com/swesterfeld/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= mew14930xvi@inbox.lv
COMMENT= Command-line tool to play audio and video files
WWW= https://space.twc.de/~stefan/gst123.php
LICENSE= LGPL20+
USES= compiler:c++11-lang localbase gmake gnome gstreamer ncurses \
pkgconfig tar:bzip2 xorg
USE_GNOME= gtk30
USE_GSTREAMER= good
USE_XORG= x11
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
.include <bsd.port.pre.mk>
.if ${OPSYS}_${OSREL:R} == FreeBSD_13
CONFIGURE_ENV= NCURSES_CFLAGS=-I${NCURSESINC} NCURSES_LIBS=-L${NCURSESLIB}
LDFLAGS+= ${TINFO_LIB}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.post.mk>