summaryrefslogtreecommitdiff
path: root/audio/lame/Makefile
blob: 4fe7175677fcaf3ca535563ca6736845e68b98aa (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
# $NetBSD: Makefile,v 1.3 1999/09/27 14:17:22 agc Exp $
#

DISTNAME=	lame-3.13
CATEGORIES=	audio
MASTER_SITES=	http://hive.me.gu.edu.au/not_lame/
DISTFILES=	dist10.tar.gz.a dist10.tar.gz.b lame3.13.patch.tgz

MAINTAINER=	hubertf@netbsd.org
HOMEPAGE=	http://hive.me.gu.edu.au/not_lame/

DIST_SUBDIR=	notlame
EXTRACT_ONLY=
WRKSRC=		${WRKDIR}/lame_src
PATCH_DIST_STRIP= -p1
USE_GMAKE=	yes
ALL_TARGET=	lame
MIRROR_DISTFILE=no
LICENSE=	fee-based-commercial-use

post-extract:
	${CAT} ${_DISTDIR}/dist* | ( cd ${WRKDIR} ; ${GTAR} plzxf - )
	${MV} ${WRKDIR}/dist10/lsf/encoder ${WRKSRC}
	cd ${WRKDIR}; ${GTAR} xvzf ${_DISTDIR}/lame3.13.patch.tgz
	cd ${WRKSRC}; ${PATCH} -p1 < ${WRKDIR}/lame3.13.patch
	# ${RM} -fr ${WRKDIR}/dist10

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lame ${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"