summaryrefslogtreecommitdiff
path: root/audio/gogo/Makefile
blob: 649afae69616efba8673422cb78435c9b1901c28 (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
# $NetBSD: Makefile,v 1.6 2001/04/22 16:03:26 wiz Exp $
#

DISTNAME=		gogo239b
PKGNAME=		gogo-2.39.1
CATEGORIES=		audio
MASTER_SITES=		http://homepage1.nifty.com/herumi/soft/gogo2/src/
EXTRACT_SUFX=		.tgz

MAINTAINER=		uebs@gmx.at
HOMEPAGE=		http://homepage1.nifty.com/herumi/gogo_e.html
COMMENT=		very fast lame-based mp3 encoder, i386 only

BUILD_DEPENDS+=		nasm-0.98:../../devel/nasm

ONLY_FOR_PLATFORM=	*-*-i386

USE_GMAKE=		YES

RESTRICTED=		'Source based on patent protected Fraunhofer code'
NO_SRC_ON_FTP=	${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
LICENSE=		fee-based-commercial-use

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

.if (${OBJECT_FMT} == "a.out")
MAKE_FLAGS+=	ASFLAGS="-f aoutb -D__unix__ -DAOUT ${E3DN}"
.else
MAKE_FLAGS+=	ASFLAGS="-f elf -D__unix__ ${E3DN}"
.endif

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
	@ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gogo
	@ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/gogo

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