2010-11-16 06:23:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2010/11/16 11:23:26 espie Exp $
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
COMMENT = finish-the-cycle logic puzzle
|
|
|
|
CATEGORIES = games
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
DISTNAME = circuit-0.1.4
|
|
|
|
REVISION = 5
|
|
|
|
MASTER_SITES = ftp://quatramaran.ens.fr/pub/cigaes/circuit/
|
2002-12-14 12:02:37 -05:00
|
|
|
|
|
|
|
# BSD
|
2010-11-16 06:23:25 -05:00
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
2002-12-14 12:02:37 -05:00
|
|
|
|
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
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2010-03-21 07:04:34 -04:00
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
2010-11-08 08:51:52 -05:00
|
|
|
WANTLIB += pthread-stubs xcb z gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0
|
2010-03-21 07:04:34 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
LIB_DEPENDS = x11/gtk+2
|
2010-03-21 07:04:34 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
MODULES = devel/gettext
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2010-10-18 14:00:15 -04:00
|
|
|
USE_GROFF = Yes
|
2006-11-13 05:08:12 -05:00
|
|
|
|
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>
|