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:3.5+,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 75-80
Link Here
|
75 |
${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \ |
74 |
${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \ |
76 |
${WRKSRC}/src/Core/NSFileManagerOOExtensions.h |
75 |
${WRKSRC}/src/Core/NSFileManagerOOExtensions.h |
77 |
|
76 |
|
|
|
77 |
pre-configure: |
78 |
@${REINPLACE_CMD} -e "s| but not 3\.x|| ; \ |
79 |
s| or sys\.version\[:2\] != '2\.'||" \ |
80 |
${WRKSRC}/deps/mozilla/js/src/configure |
81 |
@(cd ${WRKSRC}/deps/mozilla/js/src && ${LOCALBASE}/bin/2to3-${PYTHON_VER} \ |
82 |
-wn --no-diffs imacro_asm.py build/cl.py) |
83 |
|
78 |
do-install: |
84 |
do-install: |
79 |
(cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) |
85 |
(cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) |
80 |
${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin |
86 |
${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin |