Date: Tue, 13 Jan 2015 18:26:51 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376980 - head/games/atr3d Message-ID: <201501131826.t0DIQpjd047672@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jan 13 18:26:51 2015 New Revision: 376980 URL: https://svnweb.freebsd.org/changeset/ports/376980 QAT: https://qat.redports.org/buildarchive/r376980/ Log: - Add LICENSE - Switch to USES=autoreconf - Remove unused variables - Use new OPTIONS features - Drop @dirrm* from plist Modified: head/games/atr3d/Makefile head/games/atr3d/pkg-plist Modified: head/games/atr3d/Makefile ============================================================================== --- head/games/atr3d/Makefile Tue Jan 13 18:08:02 2015 (r376979) +++ head/games/atr3d/Makefile Tue Jan 13 18:26:51 2015 (r376980) @@ -7,49 +7,34 @@ PORTREVISION= 17 CATEGORIES= games MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/ DISTNAME= ${PORTNAME}_source_${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= 3D asteroids-like multiplayer game -OPTIONS_DEFINE= OPENAL -OPTIONS_DEFAULT=OPENAL - -SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME} -USES= gmake perl5 +USES= autoreconf gmake perl5 tar:tgz USE_GL= glut glu USE_XORG= xmu xi x11 USE_PERL5= build GNU_CONFIGURE= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" -USE_AUTOTOOLS= automake autoconf -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.options.mk> +OPTIONS_DEFINE= OPENAL +OPTIONS_DEFAULT=OPENAL -.if ${PORT_OPTIONS:MOPENAL} -USES+= openal:alut -CONFIGURE_ARGS+= --enable-sound -.else -CONFIGURE_ARGS+= --disable-sound -.endif +OPENAL_USES= openal:alut +OPENAL_CONFIGURE_ENABLE= sound pre-patch: - @${REINPLACE_CMD} -i '' -e 's|^aclocal|${ACLOCAL}|' \ - -e 's|^autoconf|${AUTOCONF}|' \ - -e 's|^automake|${AUTOMAKE}|' \ - ${WRKSRC}/autogen.sh @${REINPLACE_CMD} -e 's|-lopenal|& -lalut|' ${WRKSRC}/Makefile.am post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile.am -pre-configure: - cd ${WRKSRC}; ${SH} autogen.sh - .include <bsd.port.mk> Modified: head/games/atr3d/pkg-plist ============================================================================== --- head/games/atr3d/pkg-plist Tue Jan 13 18:08:02 2015 (r376979) +++ head/games/atr3d/pkg-plist Tue Jan 13 18:26:51 2015 (r376980) @@ -33,8 +33,3 @@ bin/atr3d %%DATADIR%%/sounds/8.wav %%DATADIR%%/sounds/9.wav %%DATADIR%%/textures/explosion.rgb -@dirrm %%DATADIR%%/conf -@dirrm %%DATADIR%%/models -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/textures -@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501131826.t0DIQpjd047672>