openbsd-ports/audio/lame/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2005/03/23 21:02:30 alek Exp $
2002-04-19 16:48:48 -04:00
COMMENT= "lame ain't an MP3 encoder"
2005-01-02 15:33:43 -05:00
VERSION= 3.96.1
2002-04-19 16:48:48 -04:00
DISTNAME= lame-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/}
2002-04-19 16:48:48 -04:00
HOMEPAGE= http://www.mp3dev.org/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= MP3 patent, http://mp3licensing.com/royalty/swenc.html
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= MP3 patent, http://mp3licensing.com/royalty/swenc.html
PERMIT_DISTFILES_FTP= Yes
2004-11-21 12:51:44 -05:00
WANTLIB= c m ncurses
USE_GMAKE= Yes
2000-09-13 02:10:42 -04:00
CONFIGURE_STYLE= gnu
FLAVORS= no_x11
2000-09-13 02:10:42 -04:00
FLAVOR?=
CONFIGURE_ARGS+= --enable-mp3rtp
MAKE_FLAGS= pkghtmldir=${TRUEPREFIX}/share/doc/lame
FAKE_FLAGS= ${MAKE_FLAGS}
# XXX gcc3/nasm issue
.if (${MACHINE_ARCH} == "i386") && (${CC} != "egcc")
BUILD_DEPENDS= nasm::devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.else
CONFIGURE_ARGS+= --disable-nasm
.endif
.if ${FLAVOR:L} != "no_x11"
2003-01-26 08:06:51 -05:00
CONFIGURE_ARGS+= --enable-mp3x \
--with-gtk-prefix=${LOCALBASE}
2001-10-31 21:39:05 -05:00
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
2004-11-21 12:51:44 -05:00
WANTLIB+= X11 Xext Xi glib gmodule iconv intl
2000-09-13 02:10:42 -04:00
.endif
.include <bsd.port.mk>