2003-01-21 01:22:23 +00:00
|
|
|
# New ports collection makefile for: games/gturing
|
|
|
|
# Date created: 08 Jul 2002
|
|
|
|
# Whom: Juan Salaverria <rael@vectorstar.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gturing
|
|
|
|
PORTVERSION= 0.1.1
|
2005-11-05 05:22:06 +00:00
|
|
|
PORTREVISION= 9
|
2003-01-21 01:22:23 +00:00
|
|
|
CATEGORIES= games gnome
|
|
|
|
MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/gturing/0.1/
|
|
|
|
|
2004-12-12 14:49:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-21 04:22:22 +00:00
|
|
|
COMMENT= A simple turing machine simulator for GNOME 2
|
2003-01-21 01:22:23 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2003-09-21 04:22:22 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeui
|
2003-01-21 01:22:23 +00:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-01-21 01:22:23 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2005-01-08 11:39:13 +00:00
|
|
|
INSTALLS_OMF= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2003-01-21 01:22:23 +00:00
|
|
|
|
|
|
|
DOCS= AUTHORS COPYING NEWS ChangeLog TODO README INSTALL
|
|
|
|
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/gturing
|
|
|
|
|
|
|
|
EXAMPLES= 3ones2zeroes.tur add.tur bb3.tur dashnumbers.tur addbin.tur \
|
|
|
|
bb5.tur dec2bin.tur dec2bin_shift.tur bb2.tur bin2dec.tur \
|
|
|
|
bin2dec_shift.tur sort.tur subst.tur
|
|
|
|
|
2005-03-22 06:59:10 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2003-01-21 01:22:23 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLEDIR}
|
|
|
|
.for f in ${EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tapes/${f} ${EXAMPLEDIR}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|