42 lines
902 B
Makefile
42 lines
902 B
Makefile
# $OpenBSD: Makefile,v 1.8 2020/04/14 10:44:24 fcambus Exp $
|
|
|
|
COMMENT = OpenMPT based module player library and command-line player
|
|
|
|
DISTNAME = libopenmpt-0.4.12+release.autotools
|
|
PKGNAME = ${DISTNAME:S/+release.autotools//}
|
|
|
|
SHARED_LIBS += openmpt 0.0 # 1.1
|
|
|
|
CATEGORIES = audio devel
|
|
|
|
HOMEPAGE = https://lib.openmpt.org/libopenmpt/
|
|
|
|
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} FLAC c m mpg123 ogg portaudio sndfile
|
|
WANTLIB += sndio vorbis vorbisenc vorbisfile z
|
|
|
|
MASTER_SITES = https://lib.openmpt.org/files/libopenmpt/src/
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = audio/flac \
|
|
audio/libsndfile \
|
|
audio/libvorbis \
|
|
audio/mpg123 \
|
|
audio/portaudio-svn
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += --without-portaudiocpp
|
|
|
|
CXXFLAGS += -D_LIBCPP_HAS_C11_FEATURES \
|
|
-DMPG123_NO_LARGENAME
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|