2017-10-23 17:10:49 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2017/10/23 17:10:49 sthen Exp $
|
2002-12-14 17:02:37 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
COMMENT = finish-the-cycle logic puzzle
|
|
|
|
CATEGORIES = games
|
2002-12-14 17:02:37 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
2002-12-14 17:02:37 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
DISTNAME = circuit-0.1.4
|
2017-10-23 17:10:49 +00:00
|
|
|
REVISION = 9
|
2015-11-24 09:11:02 +00:00
|
|
|
MASTER_SITES = https://distfiles.nl/
|
2002-12-14 17:02:37 +00:00
|
|
|
|
|
|
|
# BSD
|
2010-11-16 11:23:25 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2002-12-14 17:02:37 +00:00
|
|
|
|
2015-05-05 17:00:16 +00:00
|
|
|
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
|
|
WANTLIB += Xrandr Xrender atk-1.0 c cairo expat fontconfig freetype
|
|
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
|
|
|
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
|
2017-10-23 17:10:49 +00:00
|
|
|
WANTLIB += png pthread xcb xcb-render xcb-shm z
|
2010-03-21 11:04:34 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
LIB_DEPENDS = x11/gtk+2
|
2010-03-21 11:04:34 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
MODULES = devel/gettext
|
2002-12-14 17:02:37 +00:00
|
|
|
|
|
|
|
do-build:
|
2010-03-21 11:04:34 +00:00
|
|
|
cd ${WRKBUILD} && $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` \
|
|
|
|
`pkg-config --libs gtk+-2.0` circuit.c -o circuit
|
2002-12-14 17:02:37 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/circuit ${PREFIX}/bin
|
2002-12-14 17:47:19 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/circuit.6 ${PREFIX}/man/man6
|
|
|
|
|
2002-12-14 17:02:37 +00:00
|
|
|
.include <bsd.port.mk>
|