blob: 23b81a237048c468bbdaeb7d6de486ed6fbd528f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= pangzero
PORTVERSION= 1.3
PORTREVISION= 3
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
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= p5-SDL>=0:devel/p5-SDL
NO_ARCH= yes
NO_BUILD= yes
USES= perl5
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
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|