mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
be6c15b5c6
Add USES=xorg and USES=gl to ports in categories starting with 'g'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
32 lines
748 B
Makefile
32 lines
748 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= gl localbase:ldflags sdl 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>
|