pkgsrc/audio/xmms-modplug/Makefile
2008-07-14 12:55:56 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2008/07/14 12:55:59 joerg Exp $
#
DISTNAME= modplugxmms-2.05
PKGNAME= xmms-modplug-2.05
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modplug-xmms/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://modplug-xmms.sourceforge.net/
COMMENT= XMMS plugin based on modplug
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
LDFLAGS+= -lm ${LIBOSSAUDIO}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= libtool-disable-static
USE_TOOLS+= pkg-config
CFLAGS+= -DDEVICE_NAME="\"${DEVOSSSOUND}\""
USE_LANGUAGES= c c++
PLIST_VARS= modplugplay
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
SUBST_CLASSES+= mpplay
SUBST_MESSAGE.mpplay= Skipping modplugplay
SUBST_STAGE.mpplay= pre-build
SUBST_FILES.mpplay= Makefile
SUBST_SED.mpplay= -e 's,^\(SUBDIRS = modplugxmms glade\) modplugplay,\1,'
.else
PLIST.modplugplay= yes
.endif
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"