# Created by: Rusmir Dusko # $FreeBSD: head/games/popstar/Makefile 374303 2014-12-08 16:48:38Z tijl $ PORTNAME= popstar PORTVERSION= 0.0.2 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/popstar/ \ SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Simple puzzle game involving floating stars LICENSE= GPLv2 CCbyNCSA3 LICENSE_COMB= dual LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported LICENSE_FILE_CCbyNCSA3=${WRKSRC}/docs/COPYING-CC-Attrib30.txt LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept USES= gmake USE_SDL= image mixer sdl PORTDOCS= AUTHORS.txt CHANGES.txt README.txt OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="Pop Star" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .for d in images music sounds @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} .include