summaryrefslogtreecommitdiff
path: root/audio/akode-plugins-mpeg/Makefile
blob: ecbfab50e83dcc2428b0f13b1bf7bb21b5b8bae2 (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
# $NetBSD: Makefile,v 1.3 2009/12/15 21:30:52 joerg Exp $
#

PKGNAME=		akode-plugins-mpeg-${AKODE_VERSION}
PKGREVISION=		1

MAINTAINER=		hasso@NetBSD.org
COMMENT=		MPEG plugin for akode framework
LICENSE=		gnu-gpl-v2

.include "../../audio/akode/Makefile.common"

DISTINFO_FILE=		${.CURDIR}/../../audio/akode/distinfo
PATCHDIR=		${.CURDIR}/../../audio/akode/patches

PKG_DESTDIR_SUPPORT=	user-destdir

CONFIGURE_ARGS+=	--with-libmad

do-install:
	cd ${WRKSRC}/akode/plugins/mpeg_decoder && ${SETENV} ${MAKE_ENV} \
		${MAKE} prefix=${DESTDIR}${PREFIX} install

.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../audio/akode/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"