2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2010-03-07 03:28:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= critterding
|
|
|
|
DISTVERSION= beta12
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 18
|
2010-03-07 03:28:31 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Evolving Artificial Life
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2
|
2010-03-07 03:28:31 +01:00
|
|
|
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= autoreconf gl libtool ncurses pkgconfig sdl tar:bzip2
|
2010-03-07 03:28:31 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GL= gl
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2010-03-07 03:28:31 +01:00
|
|
|
CONFIGURE_ARGS= --disable-system-ftgl
|
2013-06-18 13:46:51 +02:00
|
|
|
USE_GCC= yes
|
2010-03-07 03:28:31 +01:00
|
|
|
|
2014-09-22 14:48:59 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDATA= *
|
2010-03-07 03:28:31 +01:00
|
|
|
PORTDOCS= README AUTHORS Changelog
|
|
|
|
|
2014-02-21 14:36:56 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2010-03-07 12:48:50 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
|
|
|
|
${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
|
|
|
|
|
2010-03-07 03:28:31 +01:00
|
|
|
post-install:
|
2013-10-01 07:46:25 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2010-03-07 03:28:31 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2013-10-01 07:46:25 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2010-03-07 03:28:31 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|