# $OpenBSD: Makefile,v 1.13 2005/03/22 15:02:45 robert Exp $ COMMENT= "front-end to external cd audio rippers and mp3 encoders" V= 3.0.7 DISTNAME= grip-${V} PKGNAME= ${DISTNAME}p0 CATEGORIES= audio HOMEPAGE= http://www.nostatic.org/grip/ MAINTAINER= Steve Shockley # GPL: http://www.nostatic.org/grip/doc/ar01s09.html PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= ICE SM X11 Xext Xi audiofile c \ esd gdk_imlib glib gmodule jpeg \ m png pthread stdc++ tiff ungif z FLAVORS= cdparanoia FLAVOR?= MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=grip/} MODULES= devel/gettext LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \ gnome.36,gnomesupport.0,gnomeui.46,art_lgpl.4::x11/gnome/libs \ ghttp::www/libghttp \ id3.3.8::audio/id3lib NO_REGRESS= Yes CONFIGURE_STYLE= gnu CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-pthread" .if ${FLAVOR:L:Mcdparanoia} LIB_DEPENDS+= cdda_interface,cdda_paranoia::audio/cdparanoia .else CONFIGURE_ARGS+= --disable-cdpar .endif .include