mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
be6c15b5c6
Add USES=xorg and USES=gl to ports in categories starting with 'g'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
38 lines
962 B
Makefile
38 lines
962 B
Makefile
# Created by: Eric Anholt
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tuxracer
|
|
PORTVERSION= 0.61
|
|
PORTREVISION= 14
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF \
|
|
SF/${PORTNAME}/${PORTNAME}-data/${PORTVERSION}:data
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}:data
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 3D penguin racing game using OpenGL
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gl gmake sdl tk xorg
|
|
USE_SDL= mixer sdl
|
|
USE_GL= gl
|
|
USE_XORG= x11 xt xmu xi
|
|
GNU_CONFIGURE= yes
|
|
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}
|
|
CPPFLAGS+= -DGLX_GLXEXT_LEGACY
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \
|
|
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|