2013-07-27 18:06:25 +02:00
|
|
|
# Created by: nox@jelal.kn-bremen.de
|
1999-09-28 04:57:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-02-05 15:51:45 +01:00
|
|
|
PORTNAME= gracer
|
2001-06-10 17:28:45 +02:00
|
|
|
PORTVERSION= 0.1.5
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 22
|
1999-09-28 04:57:19 +02:00
|
|
|
CATEGORIES= games
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
1999-09-28 04:57:19 +02:00
|
|
|
|
2015-12-14 03:52:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-09-27 18:36:58 +02:00
|
|
|
COMMENT= 3D motor sport simulator
|
1999-09-28 04:57:19 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-12-31 02:19:32 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
|
|
|
|
LIB_DEPENDS= libgif.so:graphics/giflib \
|
|
|
|
libpng.so:graphics/png
|
1999-09-28 04:57:19 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= glut
|
2016-07-06 16:24:04 +02:00
|
|
|
USES= gmake jpeg localbase perl5 tcl
|
2013-09-17 08:28:07 +02:00
|
|
|
USE_PERL5= build
|
2014-09-25 15:48:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
|
2015-12-31 02:19:32 +01:00
|
|
|
CPPFLAGS+= -I${TCL_INCLUDEDIR}
|
2002-09-29 09:54:25 +02:00
|
|
|
|
2014-09-25 15:48:35 +02:00
|
|
|
post-patch:
|
2013-07-27 18:06:25 +02:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
|
2002-03-31 05:17:57 +02:00
|
|
|
${WRKSRC}/common/gr_memory.h
|
2014-09-25 15:48:35 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|lib/tclConfig.sh|lib/tcl${TCL_VER}/tclConfig.sh|' \
|
|
|
|
-e '/SOUND_LIBS=/s/"$$/ -lplibul"/' \
|
|
|
|
${WRKSRC}/configure
|
2002-03-31 05:17:57 +02:00
|
|
|
|
2014-07-28 21:39:50 +02:00
|
|
|
.include <bsd.port.mk>
|