freebsd-ports/games/critterding/Makefile
Dmitry Marakasov 8c6d10153a - libtool is still needed
- Call autotools directly

Submitted by:	tijl@ via private email
2014-05-08 20:45:40 +00:00

40 lines
980 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= critterding
DISTVERSION= beta12
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Evolving Artificial Life
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
USES= libtool pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf aclocal autoheader automake libtoolize
AUTOMAKE_ARGS= -a -c -f
USE_SDL= sdl
USE_GL= gl
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-system-ftgl
USE_GCC= yes
PORTDOCS= README AUTHORS Changelog
OPTIONS_DEFINE= DOCS
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>