45 lines
997 B
Makefile
45 lines
997 B
Makefile
# $OpenBSD: Makefile,v 1.3 2002/03/15 09:30:33 pvalchev Exp $
|
|
|
|
COMMENT= "mikmod sound library"
|
|
|
|
VERSION= 3.1.10
|
|
DISTNAME= libmikmod-${VERSION}
|
|
PKGNAME= ${DISTNAME}p2
|
|
CATEGORIES= audio devel
|
|
NEED_VERSION= 1.504
|
|
|
|
HOMEPAGE= http://www.mikmod.org
|
|
|
|
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/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR=apps/sound/libs
|
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
|
|
patch-*
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
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
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|