freebsd-ports/games/simplevaders/Makefile
Dmitry Marakasov 45a2358a50 - Update to 0.8.1
- Fix LICENSE
- Switch to USES=localbase
- Switch to upstream build
- Update WWW
2017-11-04 09:04:31 +00:00

31 lines
741 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= simplevaders
PORTVERSION= 0.8.1
CATEGORIES= games
MASTER_SITES= http://dusted.dk/pages/simplevaders/ \
https://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Space-Invaders like 2D space shooter
LICENSE= GPLv3+
USES= localbase:ldflags tar:bzip2
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/main.cpp
@${RM} ${WRKSRC}/data/*\~
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>