summaryrefslogtreecommitdiff
path: root/audio/lame/Makefile
blob: a9e6de8488cbe9eef5e922dee7941709fde82a34 (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
# $NetBSD: Makefile,v 1.8 1999/10/22 23:55:49 tron Exp $
#

#
# This file is included from ../lame-gui/Makefile to get most of the things
# to match up.  It will define LAME_GUI before including.
#

DISTNAME=	lame-3.33beta
CATEGORIES=	audio
MASTER_SITES=	http://www.sulaco.org/mp3/download/beta/
DISTFILES=	lame3.33beta.tar.gz

MAINTAINER=	hubertf@netbsd.org
HOMEPAGE=	http://www.sulaco.org/mp3/

DEPENDS=	ncurses-4.2:../../devel/ncurses

CONFLICTS=	lame-*

.include "../../mk/bsd.prefs.mk"

.if !defined(LAME_USE_GTK) || ${LAME_USE_GTK} == YES
DEPENDS+=	gtk+-1.2.*:../../x11/gtk
.endif

WRKSRC=		${WRKDIR}/lame3.33
USE_GMAKE=	yes
ALL_TARGET=	lame
MIRROR_DISTFILE=no
LICENSE=	fee-based-commercial-use

.if !make(makepatchsum)
PATCHDIR=       ${WRKDIR}/.patches
.endif

post-extract:
	@${MKDIR} ${PATCHDIR}
	@${CP} ${.CURDIR}/patches/patch-* ${PATCHDIR}/
.if defined(LAME_USE_GTK) && ${LAME_USE_GTK} == NO
	@${RM} -f ${PATCHDIR}/patch-gtk
.endif

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

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