diff options
author | osa <osa@FreeBSD.org> | 2003-06-15 03:03:21 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-06-15 03:03:21 +0800 |
commit | 9c8d26545f331b478ed79ff42ae54f9e3c7ee081 (patch) | |
tree | cd3a6e1eb3116bb76d47b113a6803757e5e777f1 /games/atr3d/Makefile | |
parent | 08d948e24a0903d6719e892cb20104bd7b8b29bf (diff) | |
download | freebsd-ports-gnome-9c8d26545f331b478ed79ff42ae54f9e3c7ee081.tar.gz freebsd-ports-gnome-9c8d26545f331b478ed79ff42ae54f9e3c7ee081.tar.zst freebsd-ports-gnome-9c8d26545f331b478ed79ff42ae54f9e3c7ee081.zip |
New port: 3D asteroids-like multiplayer game
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
PR: 53194
Approved by: fjoe (implicit)
Diffstat (limited to 'games/atr3d/Makefile')
-rw-r--r-- | games/atr3d/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile new file mode 100644 index 000000000000..fae80dfa0c93 --- /dev/null +++ b/games/atr3d/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: atr3d +# Date created: 11 Jun 2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= atr3d +PORTVERSION= 0.6 +CATEGORIES= games +MASTER_SITES= ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/ +DISTNAME= ${PORTNAME}_source_${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= ponomarew@oberon.net +COMMENT= 3D asteroids-like multiplayer game + +LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_MESA= yes +GNU_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --enable-sound +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + SDL_CONFIG="${SDL_CONFIG}" +USE_AUTOMAKE_VER= 14 + +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} + +pre-patch: + @${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \ + s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \ + ${WRKSRC}/autogen.sh + +pre-configure: + cd ${WRKSRC}; ${SH} autogen.sh + +post-configure: + @${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/Makefile + +.include <bsd.port.mk> |