2007-01-16 05:11:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/01/16 10:11:53 bernd Exp $
|
2002-12-14 12:02:37 -05:00
|
|
|
|
|
|
|
COMMENT= "finish-the-cycle logic puzzle"
|
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2002-12-16 14:55:15 -05:00
|
|
|
DISTNAME= circuit-0.1.4
|
2007-01-16 05:11:53 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
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
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m
|
2002-12-14 12:02:37 -05:00
|
|
|
|
2006-08-02 05:36:20 -04:00
|
|
|
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+
|
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:
|
|
|
|
cd ${WRKBUILD} && $(CC) $(CFLAGS) `gtk-config --cflags --libs` circuit.c -o circuit
|
|
|
|
|
|
|
|
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>
|