2011-09-16 05:48:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/09/16 09:48:09 espie Exp $
|
2002-02-26 19:37:10 -05:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= Free Unix Spectrum Emulator
|
2009-01-17 05:10:01 -05:00
|
|
|
DISTNAME= fuse-0.10.0.2
|
2011-09-16 05:48:08 -04:00
|
|
|
REVISION= 5
|
2002-02-26 19:37:10 -05:00
|
|
|
CATEGORIES= emulators
|
2004-05-08 02:46:45 -04:00
|
|
|
HOMEPAGE= http://fuse-emulator.sourceforge.net/
|
2002-02-26 19:37:10 -05:00
|
|
|
|
2009-03-30 14:25:32 -04:00
|
|
|
# GPLv2
|
2002-02-26 19:37:10 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-09-24 14:23:25 -04:00
|
|
|
|
2010-10-23 18:01:29 -04:00
|
|
|
WANTLIB += X11 Xext Xau Xdmcp audiofile gcrypt gpg-error pcre
|
|
|
|
WANTLIB += bz2 c m z pthread-stubs xcb glib-2.0 samplerate spectrum
|
|
|
|
WANTLIB += png xml2 ao
|
2002-02-26 19:37:10 -05:00
|
|
|
|
2004-05-08 02:46:45 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
|
2002-02-26 19:37:10 -05:00
|
|
|
|
2010-10-23 18:01:29 -04:00
|
|
|
USE_GROFF= Yes
|
2002-12-16 18:36:47 -05:00
|
|
|
|
2005-02-19 06:13:27 -05:00
|
|
|
MODULES= devel/gettext
|
2010-11-15 18:22:07 -05:00
|
|
|
LIB_DEPENDS= devel/glib2 \
|
|
|
|
audio/libsamplerate \
|
|
|
|
devel/libspectrum \
|
|
|
|
graphics/png \
|
|
|
|
textproc/libxml \
|
|
|
|
audio/libao
|
2002-02-26 19:37:10 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2002-12-16 18:36:47 -05:00
|
|
|
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
|
2002-02-26 19:37:10 -05:00
|
|
|
|
|
|
|
FLAVORS=gtk
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgtk}
|
2010-11-15 18:22:07 -05:00
|
|
|
LIB_DEPENDS+= x11/gtk+2 \
|
|
|
|
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 \
|
2010-10-11 04:11:24 -04:00
|
|
|
Xrender atk-1.0 cairo expat fontconfig freetype \
|
2010-09-30 03:21:18 -04:00
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
|
2010-11-15 18:22:07 -05:00
|
|
|
gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0 gio-2.0 \
|
|
|
|
gmodule-2.0 gobject-2.0
|
2002-02-26 19:37:10 -05:00
|
|
|
.else
|
2010-05-09 14:19:25 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gtk
|
2004-11-27 05:39:13 -05:00
|
|
|
WANTLIB+= ICE SM
|
2002-02-26 19:37:10 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|