freebsd-ports/games/xsc/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
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.
2019-11-05 22:16:14 +00:00

39 lines
1,001 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
PORTNAME= xsc
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.panix.com/~mbh/xsc/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Vector graphics space shoot'em up game
LICENSE= GPLv2
USES= compiler xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.png
DESKTOP_ENTRIES="Xsc" "" "${PORTNAME}" "${PORTNAME}" "Game;ArcadeGame;" ""
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>