2010-09-30 03:21:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2010/09/30 07:21:19 ajacoutot Exp $
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= finish-the-cycle logic puzzle
|
2002-12-14 12:02:37 -05:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2002-12-16 14:55:15 -05:00
|
|
|
DISTNAME= circuit-0.1.4
|
2010-09-30 03:21:18 -04:00
|
|
|
REVISION= 4
|
2002-12-14 12:47:19 -05:00
|
|
|
MASTER_SITES= ftp://quatramaran.ens.fr/pub/cigaes/circuit/
|
2002-12-14 12:02:37 -05:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2010-03-21 07:04:34 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
2010-09-30 03:21:18 -04:00
|
|
|
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0
|
2010-03-21 07:04:34 -04:00
|
|
|
|
2010-09-30 03:21:18 -04:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
|
2010-03-21 07:04:34 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2006-11-13 05:08:12 -05:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2002-12-14 12:02:37 -05:00
|
|
|
do-build:
|
2010-03-21 07:04:34 -04:00
|
|
|
cd ${WRKBUILD} && $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` \
|
|
|
|
`pkg-config --libs gtk+-2.0` circuit.c -o circuit
|
2002-12-14 12:02:37 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/circuit ${PREFIX}/bin
|
2002-12-14 12:47:19 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/circuit.6 ${PREFIX}/man/man6
|
|
|
|
|
2002-12-14 12:02:37 -05:00
|
|
|
.include <bsd.port.mk>
|