pkgsrc/audio/lame/Makefile
jlam a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2003/09/28 09:13:55 jlam Exp $
#
VERS= 3.93.1
DISTNAME= lame-${VERS}
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/} \
http://hive.me.gu.edu.au/not_lame/ \
http://telia.dl.sourceforge.net/lame/
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.mp3dev.org/mp3/
COMMENT= Fast, high quality MP3 encoder
LICENSE= fee-based-commercial-use
USE_BUILDLINK2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-vorbis
.include "../../mk/bsd.prefs.mk"
.if defined(LAME_USE_GTK)
CONFIGURE_ENV+= GTK_CONFIG=${BUILDLINK_PREFIX.gtk}/bin/gtk-config
. include "../../x11/gtk/buildlink2.mk"
.else
CONFIGURE_ARGS+= --disable-analyzer
.endif
.if ${MACHINE_ARCH} == "alpha"
. include "../../math/libffm/buildlink2.mk"
# double is faster than float on Alpha
CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \
-mfp-regs -fschedule-insns -fschedule-insns2 \
-finline-functions -DFLOAT=double
.endif
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"