openbsd-ports/emulators/fuse/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2010/09/30 07:21:18 ajacoutot Exp $
COMMENT= Free Unix Spectrum Emulator
DISTNAME= fuse-0.10.0.2
REVISION= 3
CATEGORIES= emulators
2004-05-08 02:46:45 -04:00
HOMEPAGE= http://fuse-emulator.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-01-07 12:59:40 -05:00
WANTLIB= X11 Xext Xau Xdmcp audiofile gcrypt gpg-error pcre \
bz2 c m z pthread-stubs xcb
2004-05-08 02:46:45 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
USE_X11= Yes
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0.>=0.8::devel/glib2 \
samplerate::audio/libsamplerate \
2009-01-07 12:59:40 -05:00
spectrum.>=5::devel/libspectrum \
png.>=3::graphics/png \
2010-05-09 14:19:25 -04:00
xml2.>=7::textproc/libxml \
ao::audio/libao
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lbz2"
2010-05-09 14:19:25 -04:00
CONFIGURE_ARGS= --with-libao
FLAVORS=gtk
FLAVOR?=
.if ${FLAVOR:L:Mgtk}
LIB_DEPENDS+= gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2 \
2009-01-07 12:59:40 -05:00
gio-2.0,gmodule-2.0,gobject-2.0::devel/glib2
2010-05-09 14:19:25 -04:00
CONFIGURE_ARGS+= --with-gtk2
2009-01-07 12:59:40 -05:00
WANTLIB+= Xcomposite Xcursor Xdamage Xfixes Xi Xinerama Xrandr \
Xrender atk-1.0 cairo expat fontconfig freetype glitz \
pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
gdk_pixbuf-2.0
.else
2010-05-09 14:19:25 -04:00
CONFIGURE_ARGS+= --without-gtk
2004-11-27 05:39:13 -05:00
WANTLIB+= ICE SM
.endif
.include <bsd.port.mk>