[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / games / torcs

Annotation of ports/games/torcs/Makefile, Revision 1.12

1.1       yason       1: # $OpenBSD$
                      2:
1.12    ! kirby       3: # XXX doesn't build with MAKE_JOBS>1
        !             4:
1.1       yason       5: COMMENT =              The Open Racing Car Simulator
                      6:
1.12    ! kirby       7: DISTNAME =             torcs-1.3.7
1.1       yason       8:
1.12    ! kirby       9: CATEGORIES =           games x11
1.1       yason      10:
                     11: HOMEPAGE =             http://torcs.sourceforge.net/
                     12:
1.12    ! kirby      13: MAINTAINER =           Kirill Bychkov <kirby@openbsd.org>
1.1       yason      14:
                     15: # GPLv2
                     16: PERMIT_PACKAGE_CDROM = Yes
                     17:
1.8       yason      18: WANTLIB += GL GLU ICE SM X11 Xext Xi Xmu Xrandr Xrender Xt Xxf86vm
1.12    ! kirby      19: WANTLIB += alut c glut m ogg openal png pthread vorbis vorbisfile
        !            20: WANTLIB += z
1.1       yason      21:
                     22: MASTER_SITES =         ${MASTER_SITE_SOURCEFORGE:=torcs/}
1.3       yason      23: EXTRACT_SUFX =         .tar.bz2
1.1       yason      24:
1.7       yason      25: BUILD_DEPENDS =                devel/plib
                     26: LIB_DEPENDS =          audio/freealut \
1.8       yason      27:                        audio/libvorbis \
                     28:                        audio/openal \
1.7       yason      29:                        graphics/freeglut \
                     30:                        graphics/png
1.10      kirby      31: RUN_DEPENDS =          devel/desktop-file-utils
1.1       yason      32:
                     33: USE_GMAKE =            Yes
                     34: CONFIGURE_STYLE =      gnu
1.8       yason      35: CONFIGURE_ENV +=       CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
                     36:                        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread -lm -logg -lvorbis"
1.1       yason      37:
1.11      kirby      38: NO_TEST =              Yes
1.1       yason      39:
1.3       yason      40: ALL_TARGET =           default
                     41: INSTALL_TARGET =       install datainstall
                     42:
                     43: FILES =                src/linux/torcs.in src/tools/accc/accc.in \
                     44:                src/tools/nfsperf/nfsperf.in \
                     45:                src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
                     46:                src/tools/trackgen/trackgen.in \
                     47:                src/modules/telemetry/telemetry.sh robotgen Make-default.mk \
                     48:                data/tracks/road/ole-road-1/generate.sh
                     49:
                     50: post-patch:
                     51: .for i in ${FILES}
1.9       kirby      52:        @perl -pi -e "s,/bin/bash,/bin/sh," \
                     53:                ${WRKSRC}/${i}
                     54:        @perl -pi -e "s,games\/,," \
1.3       yason      55:                ${WRKSRC}/${i}
                     56: .endfor
1.10      kirby      57:
                     58: post-install:
                     59:        ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
                     60:        ${INSTALL_DATA} ${WRKSRC}/torcs.desktop ${PREFIX}/share/applications/
1.1       yason      61:
                     62: .include <bsd.port.mk>

CVSweb