Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tome4 |
4 |
PORTNAME= tome4 |
5 |
PORTVERSION= 1.4.4 |
5 |
PORTVERSION= 1.4.5 |
6 |
CATEGORIES= games |
6 |
CATEGORIES= games |
7 |
MASTER_SITES= http://te4.org/dl/t-engine/ \ |
7 |
MASTER_SITES= http://te4.org/dl/t-engine/ \ |
8 |
SF/lifanov-ports-distfiles/${PORTNAME}/:icons |
8 |
SF/lifanov-ports-distfiles/${PORTNAME}/:icons |
Lines 24-30
Link Here
|
24 |
|
24 |
|
25 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
25 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
26 |
WRKSRC= ${WRKDIR}/t-engine4-src-${PORTVERSION} |
26 |
WRKSRC= ${WRKDIR}/t-engine4-src-${PORTVERSION} |
27 |
MAKE_ARGS+= config=release verbose=yes ARCH="" |
27 |
MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} |
28 |
USES= gmake openal:al tar:bzip2 |
28 |
USES= gmake openal:al tar:bzip2 |
29 |
USE_SDL= image2 sdl2 ttf2 |
29 |
USE_SDL= image2 sdl2 ttf2 |
30 |
USE_GL= gl glu |
30 |
USE_GL= gl glu |
Lines 35-41
Link Here
|
35 |
pre-build: |
35 |
pre-build: |
36 |
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua |
36 |
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua |
37 |
(cd ${WRKSRC} && premake4 gmake) |
37 |
(cd ${WRKSRC} && premake4 gmake) |
38 |
@${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/build/*.make |
|
|
39 |
@${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make |
38 |
@${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make |
40 |
|
39 |
|
41 |
do-install: |
40 |
do-install: |