diff options
author | rene <rene@FreeBSD.org> | 2013-05-07 16:31:52 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-05-07 16:31:52 +0800 |
commit | 9db9ecc5765977b6a6fcbfeb522c45da568d8ff9 (patch) | |
tree | e48eb0c296cda2c3d06f48c5425fbe507f26b4c6 /games | |
parent | 76a114b3ae810261a1003d974496741aa5ce4691 (diff) | |
download | freebsd-ports-gnome-9db9ecc5765977b6a6fcbfeb522c45da568d8ff9.tar.gz freebsd-ports-gnome-9db9ecc5765977b6a6fcbfeb522c45da568d8ff9.tar.zst freebsd-ports-gnome-9db9ecc5765977b6a6fcbfeb522c45da568d8ff9.zip |
Use shebangfix
Diffstat (limited to 'games')
-rw-r--r-- | games/torcs/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/games/torcs/Makefile b/games/torcs/Makefile index c281526eb71d..427ad4190447 100644 --- a/games/torcs/Makefile +++ b/games/torcs/Makefile @@ -19,6 +19,12 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ vorbis:${PORTSDIR}/audio/libvorbis RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +USES= shebangfix +SHEBANG_FILES= src/linux/torcs.in src/tools/accc/accc.in \ + src/tools/nfsperf/nfsperf.in \ + src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \ + src/tools/trackgen/trackgen.in \ + src/modules/telemetry/telemetry.sh robotgen Make-default.mk USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr USE_GL= glut USE_OPENAL= al alut @@ -26,7 +32,6 @@ USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes -REINPLACE_ARGS= -i "" CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}" CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT @@ -40,12 +45,6 @@ INSTDIR= ${PREFIX}/share/games/${PORTNAME} PORTDOCS= faq.html -BASH2FIX= src/linux/torcs.in src/tools/accc/accc.in \ - src/tools/nfsperf/nfsperf.in \ - src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \ - src/tools/trackgen/trackgen.in \ - src/modules/telemetry/telemetry.sh robotgen Make-default.mk - DESKTOP_ENTRIES= "TORCS" \ "The Open Racing Car Simulator" \ "${INSTDIR}/Ticon.png" \ @@ -59,12 +58,6 @@ OPTIONS_DEFINE= DOCS EMPTYDIR= champ dtmrace endrace ncrace practice quickrace -post-patch: -.for FILE in ${BASH2FIX} - @${REINPLACE_CMD} -E -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ - ${WRKSRC}/${FILE} -.endfor - pre-install: @${MKDIR} ${PREFIX}/share/games |