summaryrefslogtreecommitdiff
path: root/audio/xmms-faad/Makefile
blob: 2adf7e75e2e082f567476d92e36840bd2919e2b5 (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
46
47
48
49
# $NetBSD: Makefile,v 1.16 2009/08/11 11:17:56 drochner Exp $

DISTNAME=		faad2-2.7
PKGNAME=		xmms-faad-2.7
CATEGORIES=		audio
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=faac/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.audiocoding.com/
COMMENT=		XMMS plugin for faad

PKG_DESTDIR_SUPPORT=	user-destdir

#RESTRICTED=		Dolby doesn't allow binary distributions
#NO_BIN_ON_FTP=		${RESTRICTED}
#NO_BIN_ON_CDROM=	${RESTRICTED}

USE_TOOLS+=		automake gmake pkg-config
USE_LANGUAGES=		c c++
USE_LIBTOOL=		YES
SHLIBTOOL_OVERRIDE=	# empty
DISTINFO_FILE=		${.CURDIR}/../../audio/faad2/distinfo
PATCHDIR=		${.CURDIR}/../../audio/faad2/patches

AUTOCONF_REQD=		2.50
GNU_CONFIGURE=		YES

CONFIGURE_ARGS+=	--with-xmms
CONFIGURE_ARGS+=	--with-mp4v2
BUILD_DIRS=		plugins/xmms/src
INSTALL_DIRS=		plugins/xmms

pre-configure:
	${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
	for dir in . ; do						\
		cd ${WRKSRC}/$$dir;					\
		aclocal -I .;						\
		autoheader;						\
		${LOCALBASE}/bin/libtoolize --automake;			\
		automake --add-missing;					\
		autoconf;						\
	done

.include "../../audio/faad2/buildlink3.mk"
.include "../../audio/id3lib/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"