mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
3ce0f21808
- Convert to USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Remove patches that renamed include directories and libraries so they didn't conflict with early development versions of glib/gtk 2.0
34 lines
858 B
Makefile
34 lines
858 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= garith
|
|
PORTVERSION= 2.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= games
|
|
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
|
|
COMMENT= Arithmetic quiz program for X Window System
|
|
|
|
USE_GNOME= gtk12
|
|
WRKSRC= ${WRKDIR}/garith
|
|
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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/garith ${STAGEDIR}${PREFIX}/bin/
|
|
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
|
|
@cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|