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