Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= beret |
4 |
PORTNAME= beret |
5 |
PORTVERSION= 1.2.1 |
5 |
PORTVERSION= 1.2.1 |
6 |
DISTVERSIONPREFIX= v |
|
|
7 |
CATEGORIES= games |
6 |
CATEGORIES= games |
8 |
|
7 |
|
9 |
MAINTAINER= alfix86@gmail.com |
8 |
MAINTAINER= alfix86@gmail.com |
Lines 10-30
Link Here
|
10 |
COMMENT= 2D puzzle-platformer game |
9 |
COMMENT= 2D puzzle-platformer game |
11 |
|
10 |
|
12 |
LICENSE= LGPL3 |
11 |
LICENSE= LGPL3 |
|
|
12 |
LICENSE_FILE= ${WRKSRC}/lgpl-3.0.txt |
13 |
|
13 |
|
14 |
RUN_DEPENDS= ${LOCALBASE}/share/fonts/averiagwf/AveriaSansGWF-Regular.ttf:x11-fonts/averiagwf |
14 |
RUN_DEPENDS= ${LOCALBASE}/share/fonts/averiagwf/AveriaSansGWF-Regular.ttf:x11-fonts/averiagwf |
15 |
|
15 |
|
16 |
USE_GITHUB= yes |
16 |
USES= sdl |
17 |
GH_ACCOUNT= alfonsosiciliano |
17 |
USE_SDL= image ttf mixer |
18 |
GH_PROJECT= beret-freebsd |
|
|
19 |
|
18 |
|
20 |
USE_SDL= sdl image ttf mixer |
|
|
21 |
MAKEFILE= BSDmakefile |
19 |
MAKEFILE= BSDmakefile |
22 |
|
20 |
|
23 |
WORKINGSRC= ${WRKDIR}/${GH_PROJECT}-${PORTVERSION} |
21 |
USE_GITLAB= yes |
|
|
22 |
GL_ACCOUNT= alfix |
23 |
GL_PROJECT= ${PORTNAME}-freebsd |
24 |
GL_COMMIT= ab3c397400be60ce69903389727acf6cdf0a3119 |
25 |
|
24 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
26 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
25 |
|
27 |
|
26 |
DESKTOP_ENTRIES="Beret" "" "beret" \ |
28 |
DESKTOP_ENTRIES= "Beret" \ |
27 |
"beret" "" false |
29 |
"2D puzzle-platformer" \ |
|
|
30 |
"" \ |
31 |
"beret" \ |
32 |
"Game;" \ |
33 |
false |
28 |
|
34 |
|
29 |
PORTDOCS= README.txt |
35 |
PORTDOCS= README.txt |
30 |
|
36 |
|
Lines 37-49
Link Here
|
37 |
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/game.c |
43 |
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/game.c |
38 |
|
44 |
|
39 |
do-install: |
45 |
do-install: |
40 |
${INSTALL_PROGRAM} ${WORKINGSRC}/beret ${STAGEDIR}${PREFIX}/bin |
46 |
${INSTALL_PROGRAM} ${WRKSRC}/beret ${STAGEDIR}${PREFIX}/bin |
41 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
47 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
cd ${WORKINGSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
48 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
43 |
${MKDIR} ${STAGEDIR}${DATADIR} |
49 |
${MKDIR} ${STAGEDIR}${DATADIR} |
44 |
.for datadir in images music rooms sfx |
50 |
.for datadir in images music rooms sfx |
45 |
${MKDIR} ${STAGEDIR}${DATADIR}/${datadir} |
51 |
${MKDIR} ${STAGEDIR}${DATADIR}/${datadir} |
46 |
cd ${WORKINGSRC}/${datadir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${datadir} |
52 |
cd ${WRKSRC}/${datadir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${datadir} |
47 |
.endfor |
53 |
.endfor |
48 |
cd ${STAGEDIR}${DATADIR} && ${LN} -s ${FONTDIR_DEP}/${FONT_DEP} ${FONT_DEP} |
54 |
cd ${STAGEDIR}${DATADIR} && ${LN} -s ${FONTDIR_DEP}/${FONT_DEP} ${FONT_DEP} |
49 |
|
55 |
|