freebsd-ports/audio/aften/Makefile
Stefan Eßer 98f7d7db7e Fix CONFLICTS entries in archivers, astro, audio
Fix conflicts entries based on a script that searches for duplicate
files installed by several ports.

Some patters seem to make ports conflict with themselves, but this is
actually not the case due to the check-*-conflicts logic implemented
in bsd.port.mk, which excludes self-conflicts.

PHP based ports have been ignored in this commit as requested by the
committers currently working on the php-8.1 import.

Approved by:	portmgr (implicit)
2022-01-13 22:01:28 +01:00

47 lines
954 B
Makefile

# Created by: Gabor Zahemszky <Gabor@Zahemszky.HU>
PORTNAME= aften
PORTVERSION= 0.0.8
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= Gabor@Zahemszky.HU
COMMENT= ATSC A/52 audio encoder
USES= tar:bzip2 cmake
CONFLICTS_INSTALL= wavbreaker # bin/wavinfo
OPTIONS_DEFINE= SHARED_LIB CXX_BINDINGS DOUBLE
OPTIONS_DEFAULT=
SHARED_LIB_DESC= Build with shared library
CXX_BINDINGS_DESC= Build with C++ bindings
DOUBLE_DESC= Use double precision
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSHARED_LIB}
CMAKE_ARGS+= -DSHARED:BOOL=ON
.endif
.if ${PORT_OPTIONS:MCXX_BINDINGS}
CMAKE_ARGS+= -DBINDINGS_CXX:BOOL=ON
PLIST_SUB+= CXX=""
.else
PLIST_SUB+= CXX="@comment "
.endif
.if ${PORT_OPTIONS:MSHARED_LIB} || ${PORT_OPTIONS:MCXX_BINDINGS}
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
PLIST_SUB+= LIBS=""
USE_LDCONFIG= yes
.else
PLIST_SUB+= LIBS="@comment "
.endif
.if ${PORT_OPTIONS:MDOUBLE}
CMAKE_ARGS+= -DDOUBLE:BOOL=ON
.endif
.include <bsd.port.mk>