Lines 2-8
Link Here
|
2 |
# $FreeBSD: games/assaultcube/Makefile 330111 2013-10-12 02:24:14Z danilo $ |
2 |
# $FreeBSD: games/assaultcube/Makefile 330111 2013-10-12 02:24:14Z danilo $ |
3 |
|
3 |
|
4 |
PORTNAME= assaultcube |
4 |
PORTNAME= assaultcube |
5 |
PORTVERSION= 1.2.0.0 |
5 |
PORTVERSION= 1.2.0.1 |
6 |
CATEGORIES= games |
6 |
CATEGORIES= games |
7 |
MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} |
7 |
MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} |
8 |
DISTNAME= AssaultCube_v${PORTVERSION} |
8 |
DISTNAME= AssaultCube_v${PORTVERSION} |
Lines 32-38
Link Here
|
32 |
CONFIGURE_WRKSRC= ${WRKSRC}/source/enet |
32 |
CONFIGURE_WRKSRC= ${WRKSRC}/source/enet |
33 |
BUILD_WRKSRC= ${WRKSRC}/source/src |
33 |
BUILD_WRKSRC= ${WRKSRC}/source/src |
34 |
|
34 |
|
35 |
PORTDATA= config demos packages |
35 |
PORTDATA= config packages scripts |
36 |
PORTDOCS= * |
36 |
PORTDOCS= * |
37 |
|
37 |
|
38 |
OPTIONS_DEFINE= DOCS |
38 |
OPTIONS_DEFINE= DOCS |
Lines 55-61
Link Here
|
55 |
ACUBE_BIN+= client |
55 |
ACUBE_BIN+= client |
56 |
|
56 |
|
57 |
DESKTOP_ENTRIES="AssaultCube" "${COMMENT}" \ |
57 |
DESKTOP_ENTRIES="AssaultCube" "${COMMENT}" \ |
58 |
"${DATADIR}/packages/misc/startscreen.png" "${PORTNAME}_client" \ |
58 |
"${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}_client" \ |
59 |
"Game;" false |
59 |
"Game;" false |
60 |
.endif |
60 |
.endif |
61 |
|
61 |
|
Lines 71-76
Link Here
|
71 |
ACUBE_BIN+= master |
71 |
ACUBE_BIN+= master |
72 |
.endif |
72 |
.endif |
73 |
|
73 |
|
|
|
74 |
pre-install: .SILENT |
75 |
.if !defined(NOPORTDATA) |
76 |
# Current STAGEDIR doesn't create empty directories for package, |
77 |
# in case of dynamically generated TMPPLIST, where these directories exist |
78 |
${RMDIR} ${WRKSRC}/packages/maps/servermaps/incoming |
79 |
.endif |
80 |
|
74 |
do-install: |
81 |
do-install: |
75 |
.for f in ${ACUBE_BIN} |
82 |
.for f in ${ACUBE_BIN} |
76 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin |
83 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin |
Lines 84-94
Link Here
|
84 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
91 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
85 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
92 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
86 |
.endif |
93 |
.endif |
|
|
94 |
.if ${PORT_OPTIONS:MCLIENT} |
95 |
${INSTALL_DATA} ${WRKSRC}/docs/images/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png |
96 |
.endif |
87 |
|
97 |
|
88 |
post-install: |
98 |
post-install: |
89 |
.for f in ${ACUBE_BIN} |
99 |
.for f in ${ACUBE_BIN} |
90 |
@${ECHO_CMD} bin/${PORTNAME}_${f} >> ${TMPPLIST} |
100 |
@${ECHO_CMD} bin/${PORTNAME}_${f} >> ${TMPPLIST} |
91 |
@${ECHO_CMD} libexec/${PORTNAME}_${f} >> ${TMPPLIST} |
101 |
@${ECHO_CMD} libexec/${PORTNAME}_${f} >> ${TMPPLIST} |
92 |
.endfor |
102 |
.endfor |
|
|
103 |
.if ${PORT_OPTIONS:MCLIENT} |
104 |
@${ECHO_CMD} share/pixmaps/${PORTNAME}.png >> ${TMPPLIST} |
105 |
.endif |
93 |
|
106 |
|
94 |
.include <bsd.port.mk> |
107 |
.include <bsd.port.mk> |