freebsd-ports/games/netherearth/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

31 lines
856 B
Makefile

# Created by: Ginzburg Oleg
# $FreeBSD$
PORTNAME= netherearth
PORTVERSION= 0.51
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://move.kirishi.ru/soft/netherearth/
MAINTAINER= ports@FreeBSD.org
COMMENT= Remake of the first real time strategy game on the SPECTRUM
GNU_CONFIGURE= yes
USES= compiler
USE_GL= gl glu glut
USE_SDL= sdl mixer
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
pre-install:
if [ ! -d ${STAGEDIR}${PREFIX}/share/netherearth ] ; then \
${MKDIR} ${STAGEDIR}${PREFIX}/share/netherearth ;\
fi
${CP} -R ${WRKSRC}/maps ${STAGEDIR}${PREFIX}/share/netherearth/
${CP} -R ${WRKSRC}/models ${STAGEDIR}${PREFIX}/share/netherearth/
${CP} -R ${WRKSRC}/sound ${STAGEDIR}${PREFIX}/share/netherearth/
${CP} -R ${WRKSRC}/textures ${STAGEDIR}${PREFIX}/share/netherearth/
.include <bsd.port.mk>