freebsd-ports/games/atr3d/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

40 lines
912 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
PORTNAME= atr3d
PORTVERSION= 0.6
PORTREVISION= 19
CATEGORIES= games
MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/
DISTNAME= ${PORTNAME}_source_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D asteroids-like multiplayer game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= autoreconf gl gmake perl5 tar:tgz xorg
USE_GL= glut glu
USE_XORG= xmu xi x11
USE_PERL5= build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LDFLAGS_i386= -Wl,-znotext
OPTIONS_DEFINE= OPENAL
OPTIONS_DEFAULT=OPENAL
OPENAL_USES= compiler:c++11-lang openal:alut
OPENAL_CONFIGURE_ENABLE= sound
pre-patch:
@${REINPLACE_CMD} -e 's|-lopenal|& -lalut|' ${WRKSRC}/Makefile.am
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile.am
.include <bsd.port.mk>