mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: critterding
|
|
# Date created: 15 Oct 2009
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= critterding
|
|
DISTVERSION= beta12
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Evolving Artificial Life
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= autoconf:env aclocal:env automake:env libtool
|
|
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= 4.2+
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PORTDOCS= README AUTHORS Changelog
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
|
|
${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${AUTORECONF} -fi
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|