mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
37 lines
950 B
Makefile
37 lines
950 B
Makefile
# Created by: Eric Anholt
|
|
|
|
PORTNAME= tuxracer
|
|
PORTVERSION= 0.61
|
|
PORTREVISION= 15
|
|
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>
|