diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-05-02 14:16:49 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-05-02 14:16:49 +0000 |
commit | dd6f9aecd223894fd0211f09b7a15f4a3a89bcfc (patch) | |
tree | 78e72938e9ae1fafd84cf8b4b69b5d7c261245bd /games/oolite | |
parent | - Stage support [1] (diff) |
Convert graphics/sdl_gfx to USES=libtool. Also set USE_AUTOTOOLS because
upstream forgot to regenerate the build scripts. This makes the build use
the correct version information and causes a library version bump. Use
this opportunity to use USES=libtool instead of USES=libtool:oldver.
Bump PORTREVISION on all dependent ports and convert them to USES=libtool
where needed. Also use USES=(gmake, pathfix, tar) and new LIB_DEPENDS
syntax here and there.
games/freedink-engine:
- Option helpers.
- Staging.
- Use dirrmtry for locale directories.
games/oolite:
- Staging.
- Replace ECHO with ECHO_CMD.
- Don't use GNUSTEP_PREFIX to install files because it expands to
LOCALBASE rather than PREFIX.
games/openssn:
- Remove USES=desktop-file-utils. No MimeType field in desktop file.
- Staging.
- Install files in standard DATADIR.
games/xblast:
- Use proper options.
- Staging.
- Patch configure so normal make install can be used instead of do-install.
- Replace TAR | TAR with COPYTREE_SHARE.
Notes
Notes:
svn path=/head/; revision=352815
Diffstat (limited to 'games/oolite')
-rw-r--r-- | games/oolite/Makefile | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/games/oolite/Makefile b/games/oolite/Makefile index 400f3a953077..d8ed04cdbb30 100644 --- a/games/oolite/Makefile +++ b/games/oolite/Makefile @@ -3,7 +3,7 @@ PORTNAME= oolite PORTVERSION= 1.76 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games gnustep MASTER_SITES= ${MASTER_SITE_BERLIOS} http://jens.ayton.se/oolite/deps/:js MASTER_SITE_SUBDIR= oolite-linux @@ -15,47 +15,39 @@ EXTRACT_ONLY= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= avg@icyb.net.ua COMMENT= Trade and combat space simulator, clone of Elite -FETCH_ARGS+= -a +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ + ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip +LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak \ + libnspr4.so:${PORTSDIR}/devel/nspr -WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION} - -BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip -BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip -LIB_DEPENDS+= espeak:${PORTSDIR}/audio/espeak -LIB_DEPENDS+= nspr4:${PORTSDIR}/devel/nspr - -USE_BZIP2= yes +USES= gmake perl5 tar:bzip2 USE_GL= yes USE_SDL= mixer image gfx USE_GNUSTEP= yes USE_GNUSTEP_BASE= yes USE_GNUSTEP_BUILD= yes USE_MAKEFILE= yes -USE_GMAKE= yes ALL_TARGET= release-deployment -USES= perl5 -USE_PERL5= build +USE_PERL5= build USE_PYTHON_BUILD= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -NO_STAGE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION} + post-extract: @(cd ${WRKSRC}/deps/Cross-platform-deps && \ ${BZIP2_CMD} -dc ${_DISTDIR}/firefox-4.0.source.js-only.tbz | ${TAR} -xf - && \ ${MV} mozilla-2.0 mozilla && \ - ${ECHO} 'http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz' > mozilla/current.url \ + ${ECHO_CMD} 'http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz' > mozilla/current.url \ ) do-install: - ${MKDIR} ${GNUSTEP_PREFIX}/Local/Applications - ${CP} -R ${WRKSRC}/oolite.app ${GNUSTEP_PREFIX}/Local/Applications - ${STRIP_CMD} ${GNUSTEP_PREFIX}/Local/Applications/oolite.app/oolite - ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite.desktop ${PREFIX}/share/applications/ - ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite-icon.png ${PREFIX}/share/pixmaps/ - -post-install: - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications + ${CP} -R ${WRKSRC}/oolite.app ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/oolite.app/oolite + ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite-icon.png ${STAGEDIR}${PREFIX}/share/pixmaps .include <bsd.port.mk> |