freebsd-ports/games/garith/Makefile

40 lines
929 B
Makefile
Raw Normal View History

# New ports collection makefile for: garith
# Date created: 5 August 1998
# Whom: Andrey Zakhvatov
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
2000-04-14 08:43:02 +02:00
PORTNAME= garith
PORTVERSION= 2.1
PORTREVISION= 5
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
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:32:26 +01:00
COMMENT= Arithmetic quiz program for X Window System
USE_GNOME= gtk12
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}
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}/
.endif
.include <bsd.port.mk>