2010-11-17 14:23:05 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2010/11/17 19:23:05 jasper Exp $
|
2008-02-02 04:40:58 -05:00
|
|
|
|
|
|
|
COMMENT= Settlers of Catan for GNOME/Gtk
|
|
|
|
|
2008-04-28 05:17:07 -04:00
|
|
|
GNOME_PROJECT= pioneers
|
2010-11-17 14:23:05 -05:00
|
|
|
GNOME_VERSION= 0.12.3.1
|
2008-02-02 04:40:58 -05:00
|
|
|
|
2008-04-28 05:17:07 -04:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.gz
|
2008-02-02 04:40:58 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://pio.sourceforge.net/
|
|
|
|
|
2008-03-03 03:47:10 -05:00
|
|
|
# GPLv2
|
2008-02-02 04:40:58 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= ORBit-2 ORBitCosNaming-2 X11 Xau Xcomposite Xcursor \
|
|
|
|
Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender \
|
2009-01-21 05:50:12 -05:00
|
|
|
atk-1.0 bonobo-2 bonobo-activation c cairo \
|
|
|
|
crypto dbus-1 dbus-glib-1 expat fontconfig \
|
2008-03-03 03:47:10 -05:00
|
|
|
freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 \
|
2010-10-11 04:11:24 -04:00
|
|
|
gmodule-2.0 gnomevfs-2 gobject-2.0 gthread-2.0 \
|
2008-03-03 03:47:10 -05:00
|
|
|
gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
2009-06-17 21:07:52 -04:00
|
|
|
pcre pixman-1 png popt pthread ssl util xml2 z gio-2.0 \
|
2010-11-17 12:56:14 -05:00
|
|
|
pthread-stubs xcb gnome-2>=1900 \
|
|
|
|
GL Xxf86vm canberra drm ltdl ogg vorbis vorbisfile \
|
|
|
|
xcb-render xcb-shm
|
2008-02-02 04:40:58 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pio/}
|
|
|
|
|
2008-04-28 05:17:07 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
2008-02-02 04:40:58 -05:00
|
|
|
|
2009-04-06 06:09:06 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-16 06:23:25 -05:00
|
|
|
RUN_DEPENDS= x11/gnome/librsvg
|
|
|
|
LIB_DEPENDS= x11/gnome/libgnome
|
2008-02-02 04:40:58 -05:00
|
|
|
|
2008-04-28 05:17:07 -04:00
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
MODGNOME_HELP_FILES=Yes
|
2008-02-02 04:40:58 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2010-10-18 14:00:15 -04:00
|
|
|
USE_GROFF = Yes
|
2008-02-02 04:40:58 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_pngtopnm=""
|
2008-04-28 05:17:07 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-protocol=IPv4
|
2008-02-02 04:40:58 -05:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,games/pioneers,pioneers,g;' \
|
|
|
|
-e 's,/usr/share,${PREFIX}/share,g' \
|
|
|
|
${WRKSRC}/client/help/C/pioneers-C.omf \
|
|
|
|
${WRKSRC}/docs/pioneers.6 \
|
|
|
|
${WRKSRC}/docs/pioneers-server-gtk.6 \
|
|
|
|
${WRKSRC}/docs/pioneers-server-console.6 \
|
|
|
|
${WRKSRC}/docs/pioneersai.6 \
|
|
|
|
${WRKSRC}/docs/pioneers-meta-server.6
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|