30 lines
643 B
Makefile
30 lines
643 B
Makefile
# $OpenBSD: Makefile,v 1.5 2002/12/16 19:55:15 espie Exp $
|
|
|
|
COMMENT= "finish-the-cycle logic puzzle"
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
DISTNAME= circuit-0.1.4
|
|
MASTER_SITES= ftp://quatramaran.ens.fr/pub/cigaes/circuit/
|
|
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+
|
|
|
|
do-build:
|
|
cd ${WRKBUILD} && $(CC) $(CFLAGS) `gtk-config --cflags --libs` circuit.c -o circuit
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/circuit ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/circuit.6 ${PREFIX}/man/man6
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|