freebsd-ports/games/tuxracer/Makefile
Danilo Egea Gondolfo a11ab5293a - Add stage support
- Convert USE_TK and USE_GMAKE to USES
2013-11-04 21:39:48 +00:00

39 lines
1 KiB
Makefile

# Created by: Eric Anholt
# $FreeBSD$
PORTNAME= tuxracer
PORTVERSION= 0.61
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= SF \
SF/${PORTNAME}/${PORTNAME}-data/${PORTVERSION}:data
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}:data
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D penguin racing game using OpenGL
USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= x11 xt xmu xi
USES= gmake tk
USE_AUTOTOOLS= automake14 autoconf
AUTOMAKE_ARGS= -a
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \
--with-tcl-libs="${LOCALBASE}/lib" \
--with-tcl-lib-name=tcl${TCL_VER:S/.//} \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include" \
--with-data-dir=${DATADIR}
MAKE_ENV= ${CONFIGURE_ENV}
post-extract:
@${RM} ${WRKSRC}/missing
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>