Lines 12-20
Link Here
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= Trade and combat space simulator, clone of Elite |
13 |
COMMENT= Trade and combat space simulator, clone of Elite |
14 |
|
14 |
|
15 |
DEPRECATED= Unmaintained, uses EOLed python27 |
|
|
16 |
EXPIRATION_DATE= 2020-01-27 |
17 |
|
18 |
LICENSE= CC-BY-NC-SA-3.0 GPLv2 ZLIB |
15 |
LICENSE= CC-BY-NC-SA-3.0 GPLv2 ZLIB |
19 |
LICENSE_COMB= multi |
16 |
LICENSE_COMB= multi |
20 |
LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKSRC}/Doc/LICENSE.TXT |
17 |
LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKSRC}/Doc/LICENSE.TXT |
Lines 27-33
Link Here
|
27 |
libpng.so:graphics/png \ |
24 |
libpng.so:graphics/png \ |
28 |
libminizip.so:archivers/minizip |
25 |
libminizip.so:archivers/minizip |
29 |
|
26 |
|
30 |
USES= gl gnustep openal:al perl5 python:2.7,build sdl \ |
27 |
USES= gl gnustep openal:al perl5 python:2.7+,build sdl \ |
31 |
tar:bzip2 xorg |
28 |
tar:bzip2 xorg |
32 |
USE_CXXSTD= gnu++98 |
29 |
USE_CXXSTD= gnu++98 |
33 |
USE_GL= gl glu |
30 |
USE_GL= gl glu |
Lines 34-39
Link Here
|
34 |
USE_SDL= sdl |
31 |
USE_SDL= sdl |
35 |
USE_XORG= x11 |
32 |
USE_XORG= x11 |
36 |
USE_GNUSTEP= base build |
33 |
USE_GNUSTEP= base build |
|
|
34 |
|
35 |
MAKE_ENV= ac_cv_path_PYTHON=${PYTHON_CMD} |
37 |
# Redefine DO_MAKE_BUILD, because current gnustep in USES overrides MAKEFILE |
36 |
# Redefine DO_MAKE_BUILD, because current gnustep in USES overrides MAKEFILE |
38 |
# without possibility to change it, as it was done in the previous implementation |
37 |
# without possibility to change it, as it was done in the previous implementation |
39 |
DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} |
38 |
DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} |
Lines 61-66
Link Here
|
61 |
BROKEN_armv6= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order |
60 |
BROKEN_armv6= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order |
62 |
BROKEN_armv7= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order |
61 |
BROKEN_armv7= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order |
63 |
|
62 |
|
|
|
63 |
.include <bsd.port.pre.mk> |
64 |
|
64 |
post-patch: .SILENT |
65 |
post-patch: .SILENT |
65 |
${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \ |
66 |
${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \ |
66 |
s/sdl-config/$${SDL_CONFIG}/ ; \ |
67 |
s/sdl-config/$${SDL_CONFIG}/ ; \ |
Lines 75-80
Link Here
|
75 |
${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \ |
76 |
${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \ |
76 |
${WRKSRC}/src/Core/NSFileManagerOOExtensions.h |
77 |
${WRKSRC}/src/Core/NSFileManagerOOExtensions.h |
77 |
|
78 |
|
|
|
79 |
.if ${PYTHON_VER} >= 3 |
80 |
pre-configure: |
81 |
@${REINPLACE_CMD} -e "s| but not 3\.x|| ; \ |
82 |
s| or sys\.version\[:2\] != '2\.'||" \ |
83 |
${WRKSRC}/deps/mozilla/js/src/configure |
84 |
@(cd ${WRKSRC}/deps/mozilla/js/src && ${LOCALBASE}/bin/2to3-${PYTHON_VER} \ |
85 |
-wn --no-diffs imacro_asm.py build/cl.py) |
86 |
.endif |
87 |
|
78 |
do-install: |
88 |
do-install: |
79 |
(cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) |
89 |
(cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) |
80 |
${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin |
90 |
${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin |
Lines 85-88
Link Here
|
85 |
${STAGEDIR}${PREFIX}/share/pixmaps |
95 |
${STAGEDIR}${PREFIX}/share/pixmaps |
86 |
(cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) |
96 |
(cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) |
87 |
|
97 |
|
88 |
.include <bsd.port.mk> |
98 |
.include <bsd.port.post.mk> |