mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
f6ccf2e1c3
popping balloons with a harpoon. The intention of our effort is to create a fun, open-source game that many (currently up to 6) people can play together. WWW: http://apocalypse.rulez.org/pangzero PR: ports/179092 Submitted by: nemysis (self) Approved by: wg/pawel (mentors)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pangzero
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF \
|
|
SF/nemysisfreebsdp/Apocalypse/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}_icons${EXTRACT_SUFX}:icons
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Clone of Super Pang
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= p5-Carp>=0:${PORTSDIR}/devel/p5-Carp \
|
|
p5-SDL>=0:${PORTSDIR}/devel/p5-SDL
|
|
|
|
USES= perl5
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
DESKTOP_ENTRIES="Pang Zero" "${COMMENT}" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;ActionGame;" false
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name "Makefile*" -delete
|
|
.for f in *.png *.jpg
|
|
@${CP} -a ${WRKDIR}/${f} ${WRKSRC}/data
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "bin data" ${STAGEDIR}${DATADIR})
|
|
|
|
${LN} -sf ${DATADIR}/data/icon.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|