2007-09-15 20:45:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/09/16 00:45:13 merdely Exp $
|
2002-02-26 19:37:10 -05:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= Free Unix Spectrum Emulator
|
2006-09-24 14:23:25 -04:00
|
|
|
DISTNAME= fuse-0.7.0
|
2006-12-17 04:14:36 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
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
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-09-24 14:23:25 -04:00
|
|
|
|
2005-02-19 06:13:27 -05:00
|
|
|
WANTLIB= X11 Xext bz2 c dsk m z
|
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
|
|
|
|
|
|
|
USE_X11= Yes
|
2002-12-16 18:36:47 -05:00
|
|
|
|
2005-02-19 06:13:27 -05:00
|
|
|
MODULES= devel/gettext
|
2006-08-01 06:50:19 -04:00
|
|
|
LIB_DEPENDS= glib-2.0.>=0.8::devel/glib2 \
|
|
|
|
spectrum.>=3::devel/libspectrum \
|
|
|
|
765.>=3::devel/lib765 \
|
|
|
|
png.>=3::graphics/png \
|
|
|
|
xml2.>=7::textproc/libxml
|
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"
|
2002-02-26 19:37:10 -05:00
|
|
|
|
|
|
|
FLAVORS=gtk
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgtk}
|
2006-12-17 04:14:36 -05:00
|
|
|
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
2004-05-08 02:46:45 -04:00
|
|
|
CONFIGURE_ARGS= --with-gtk2
|
2006-12-17 04:14:36 -05:00
|
|
|
WANTLIB+= Xrender atk-1.0 fontconfig freetype gmodule-2.0 \
|
|
|
|
gobject-2.0 pango-1.0 pangoft2-1.0 pangocairo-1.0 \
|
|
|
|
cairo glitz png z
|
2002-02-26 19:37:10 -05:00
|
|
|
.else
|
|
|
|
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>
|