2006-01-07 17:35:17 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2006/01/07 22:35:17 brad Exp $
|
2002-02-04 22:52:00 -05:00
|
|
|
|
|
|
|
COMMENT= "mikmod sound library"
|
|
|
|
|
|
|
|
VERSION= 3.1.10
|
|
|
|
DISTNAME= libmikmod-${VERSION}
|
2005-12-23 10:29:08 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
|
|
|
SHARED_LIBS= mikmod 2.4
|
2002-02-04 22:52:00 -05:00
|
|
|
CATEGORIES= audio devel
|
|
|
|
|
2004-01-24 14:57:34 -05:00
|
|
|
HOMEPAGE= http://mikmod.raphnet.net/
|
2002-02-04 22:52:00 -05:00
|
|
|
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/libmikmod/ \
|
2002-05-13 14:50:36 -04:00
|
|
|
${MASTER_SITE_SUNSITE:=apps/sound/libs/}
|
2002-02-04 22:52:00 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2005-12-23 10:29:08 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2002-02-04 22:52:00 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --disable-dl \
|
|
|
|
--enable-oss
|
|
|
|
|
|
|
|
FLAVORS= esd
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
|
|
LIB_DEPENDS+= esd.2::audio/esound
|
2004-11-21 12:51:44 -05:00
|
|
|
WANTLIB+= audiofile m
|
2002-02-04 22:52:00 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|