Files
2026-10-04 04:07:15 +00:00

36 lines
936 B
Makefile

PORTNAME= oggvideotools
PORTVERSION= 0.9.1
PORTREVISION= 20
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Toolbox for manipulating Ogg video files
WWW= http://www.streamnik.de/oggvideotools.html
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Abandoned upstream, does not build with CMake 4
EXPIRATION_DATE=2026-11-30
BUILD_DEPENDS= ${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
LIB_DEPENDS= libgd.so:graphics/gd \
libogg.so:audio/libogg \
libtheora.so:multimedia/libtheora \
libvorbis.so:audio/libvorbis
USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig sdl \
tar:bz2
USE_CXXSTD= c++11
USE_SDL= sdl
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e \
's|-O0.*-fPIC|-fPIC|' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e \
's|man/man1|share/man/man1|' ${WRKSRC}/docs/CMakeLists.txt
.include <bsd.port.mk>