41 lines
822 B
Makefile
41 lines
822 B
Makefile
# $OpenBSD: Makefile,v 1.56 2015/01/24 11:07:57 schwarze Exp $
|
|
|
|
COMMENT= extended module player
|
|
|
|
DISTNAME= xmp-4.0.10
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://xmp.sourceforge.net/
|
|
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
|
|
|
|
WANTLIB += c sndio xmp
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_TEST= Yes
|
|
|
|
LIB_DEPENDS= audio/libxmp
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux
|
|
CONFIGURE_ARGS+= --disable-alsa \
|
|
--disable-oss \
|
|
--disable-pulseaudio
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
# disable sun audio detection
|
|
CONFIGURE_ENV+= ac_cv_header_sys_audioio_h=no
|
|
|
|
MAKE_FLAGS+= V=1
|
|
|
|
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
|
SYSCONFDIR=${PREFIX}/share/examples
|
|
|
|
.include <bsd.port.mk>
|