1999-04-13 16:43:17 +02:00
|
|
|
# New ports collection makefile for: garith
|
|
|
|
# Date created: 5 August 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-04-13 16:43:17 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:43:02 +02:00
|
|
|
PORTNAME= garith
|
|
|
|
PORTVERSION= 2.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
1999-04-13 16:43:17 +02:00
|
|
|
CATEGORIES= games
|
2007-08-04 18:02:50 +02:00
|
|
|
MASTER_SITES= http://www.cnm-vra.com/micah/garith/ CENKES
|
|
|
|
# Latest version (2.3.1) does not build with gtk 1.2.10
|
1999-04-13 16:43:17 +02:00
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Arithmetic quiz program for X Window System
|
1999-04-13 16:43:17 +02:00
|
|
|
|
2002-09-02 02:59:13 +02:00
|
|
|
USE_GNOME= gtk12
|
1999-04-13 16:43:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/garith
|
2007-08-04 18:02:50 +02:00
|
|
|
CFLAGS+= `${GTK_CONFIG} --cflags`
|
|
|
|
LDFLAGS= `${GTK_CONFIG} --libs`
|
|
|
|
PORTDOCS= BUGS HISTORY README TODO
|
|
|
|
PLIST_FILES= bin/garith
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\
|
|
|
|
${WRKSRC}/garith.c
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}&&${CC} ${CFLAGS} -o garith garith.c ${LDFLAGS}
|
1999-04-13 16:43:17 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-08-04 18:02:50 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/garith ${PREFIX}/bin/
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
|
|
@cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
1999-04-13 16:43:17 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|