1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/games/critterding/Makefile
Tobias C. Berner 197e928ffb games/critterding: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config
  wrapper) in the near future -- use pkg-config to gather the required
  flags.

- while here, convert to USES=localbase

PR:		251512
2021-08-06 16:09:30 +02:00

38 lines
842 B
Makefile

PORTNAME= critterding
DISTVERSION= beta12
PORTREVISION= 19
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Evolving Artificial Life
LIB_DEPENDS= libfreetype.so:print/freetype2
USES= autoreconf gl libtool localbase:ldflags ncurses pkgconfig sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GL= gl
CONFIGURE_ARGS= --disable-system-ftgl
USE_GCC= yes
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
PORTDOCS= README AUTHORS Changelog
OPTIONS_DEFINE= DOCS
BINARY_ALIAS= freetype-config=true
post-patch:
@${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>