mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
39 lines
989 B
Makefile
39 lines
989 B
Makefile
# Created by: Mark Pulford <mark@kyne.com.au>
|
|
|
|
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>
|