mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pangzero
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF \
|
|
SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}_icons${EXTRACT_SUFX}:icons
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
DESKTOP_ENTRIES="Pang Zero" "" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;ActionGame;" ""
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name "Makefile*" -delete
|
|
.for f in *.png *.jpg
|
|
@${CP} -a ${WRKDIR}/${f} ${WRKSRC}/data
|
|
.endfor
|
|
|
|
do-install:
|
|
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' \
|
|
${WRKDIR}/${PORTNAME}
|
|
${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
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|