aboutsummaryrefslogtreecommitdiffstats
path: root/games/gracer
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-31 09:19:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-31 09:19:32 +0800
commit715fa98682008e51452195ed2c2fd1590c42bb35 (patch)
tree54a62be998bb65d43f727b23df8ef3ebaa340a6f /games/gracer
parent58f7559fb851362f7b1f824df3c3ff5d08431ccd (diff)
downloadfreebsd-ports-gnome-715fa98682008e51452195ed2c2fd1590c42bb35.tar.gz
freebsd-ports-gnome-715fa98682008e51452195ed2c2fd1590c42bb35.tar.zst
freebsd-ports-gnome-715fa98682008e51452195ed2c2fd1590c42bb35.zip
- Add LICENSE
- Switch to USES=localbase
Diffstat (limited to 'games/gracer')
-rw-r--r--games/gracer/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index 757ceab4cad3..e9635922eb39 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -10,18 +10,19 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D motor sport simulator
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
libpng.so:${PORTSDIR}/graphics/png
USE_GL= glut
-USES= gmake jpeg perl5 tcl:84
+USES= gmake jpeg localbase perl5 tcl:84
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
-CPPFLAGS+= -I${LOCALBASE}/include \
- -I${TCL_INCLUDEDIR}
-LIBS+= -L${LOCALBASE}/lib
+CPPFLAGS+= -I${TCL_INCLUDEDIR}
post-patch:
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \