blob: 646483b96c39fb62856f41b1c61bae3d525ed65d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $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"
|