Lines 2-13
Link Here
|
2 |
# $FreeBSD: games/assaultcube/Makefile 327730 2013-09-20 17:36:33Z bapt $ |
2 |
# $FreeBSD: games/assaultcube/Makefile 327730 2013-09-20 17:36:33Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= assaultcube |
4 |
PORTNAME= assaultcube |
5 |
PORTVERSION= 1.1.0.4 |
5 |
PORTVERSION= 1.2.0.0 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 0 |
7 |
CATEGORIES= games |
7 |
CATEGORIES= games |
8 |
MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} |
8 |
MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} |
9 |
DISTFILES= AssaultCube_v${PORTVERSION}_source${EXTRACT_SUFX} \ |
9 |
DISTNAME= AssaultCube_v${PORTVERSION} |
10 |
AssaultCube_v${PORTVERSION}${EXTRACT_SUFX} |
|
|
11 |
|
10 |
|
12 |
MAINTAINER= lightside@gmx.com |
11 |
MAINTAINER= lightside@gmx.com |
13 |
COMMENT= Total conversion of the FPS game called Cube |
12 |
COMMENT= Total conversion of the FPS game called Cube |
Lines 29-35
Link Here
|
29 |
USE_GMAKE= yes |
28 |
USE_GMAKE= yes |
30 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
31 |
ALL_TARGET= libenet |
30 |
ALL_TARGET= libenet |
32 |
WRKSRC= ${WRKDIR}/${PORTVERSION} |
31 |
WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION} |
33 |
CONFIGURE_ARGS= --enable-shared=no --enable-static=yes |
32 |
CONFIGURE_ARGS= --enable-shared=no --enable-static=yes |
34 |
CONFIGURE_WRKSRC= ${WRKSRC}/source/enet |
33 |
CONFIGURE_WRKSRC= ${WRKSRC}/source/enet |
35 |
BUILD_WRKSRC= ${WRKSRC}/source/src |
34 |
BUILD_WRKSRC= ${WRKSRC}/source/src |
Lines 45-54
Link Here
|
45 |
DEDICATED_DESC= Build dedicated server |
44 |
DEDICATED_DESC= Build dedicated server |
46 |
MASTER_DESC= Build master server |
45 |
MASTER_DESC= Build master server |
47 |
|
46 |
|
48 |
NO_STAGE= yes |
|
|
49 |
.include <bsd.port.options.mk> |
47 |
.include <bsd.port.options.mk> |
50 |
|
48 |
|
51 |
.if ${PORT_OPTIONS:MCLIENT} |
49 |
.if ${PORT_OPTIONS:MCLIENT} |
|
|
50 |
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl |
52 |
USES+= gettext |
51 |
USES+= gettext |
53 |
USE_GL= yes |
52 |
USE_GL= yes |
54 |
USE_SDL= image mixer sdl |
53 |
USE_SDL= image mixer sdl |
Lines 75-90
Link Here
|
75 |
|
74 |
|
76 |
do-install: |
75 |
do-install: |
77 |
.for f in ${ACUBE_BIN} |
76 |
.for f in ${ACUBE_BIN} |
78 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${PREFIX}/bin |
77 |
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin |
79 |
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} ${PREFIX}/libexec/${PORTNAME}_${f} |
78 |
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_${f} |
80 |
.endfor |
79 |
.endfor |
81 |
.if !defined(NOPORTDATA) |
80 |
.if !defined(NOPORTDATA) |
82 |
${MKDIR} ${DATADIR} |
81 |
${MKDIR} ${STAGEDIR}${DATADIR} |
83 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${DATADIR} |
82 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} |
84 |
.endif |
83 |
.endif |
85 |
.if ${PORT_OPTIONS:MDOCS} |
84 |
.if ${PORT_OPTIONS:MDOCS} |
86 |
${MKDIR} ${DOCSDIR} |
85 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
87 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} |
86 |
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
88 |
.endif |
87 |
.endif |
89 |
|
88 |
|
90 |
post-install: |
89 |
post-install: |