opnsense-ports/audio/mp3plot/Makefile
Franco Fichtner 85a073a62c */*: sync with upstream
Taken from: FreeBSD
2024-05-14 14:28:57 +02:00

43 lines
1.1 KiB
Makefile

PORTNAME= mp3plot
DISTVERSION= 0.6.0
PORTREVISION= 37
CATEGORIES= audio
MASTER_SITES= http://p.outlyer.net/mp3plot/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= MP3 bitrate plot tool
WWW= https://p.outlyer.net/mp3plot/
BROKEN= fails to build with newest Boost
DEPRECATED= Dead upstream and fails to build
EXPIRATION_DATE=2024-05-31
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USE_CXXSTD= c++98
OPTIONS_DEFINE= GD IMAGEMAGICK
OPTIONS_DEFAULT=GD
CONFIGURE_ARGS= --with-boost-program-options=boost_program_options \
--with-boost-thread=boost_thread
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
LIBS+= -L${LOCALBASE}/lib -lboost_system
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
GD_CONFIGURE_ENABLE= gd
GD_LIB_DEPENDS= libgd.so:graphics/gd
IMAGEMAGICK_CONFIGURE_ENABLE= magick
IMAGEMAGICK_USES= magick:6
post-patch:
@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure
.include <bsd.port.mk>