# New ports collection makefile for: oolite # Date created: 04 Oct 2005 # Whom: Andriy Gapon # # $FreeBSD$ # PORTNAME= oolite PORTVERSION= 1.76 CATEGORIES= games gnustep MASTER_SITES= ${MASTER_SITE_BERLIOS} http://jens.ayton.se/oolite/deps/:js MASTER_SITE_SUBDIR= oolite-linux DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \ firefox-4.0.source.js-only.tbz:js DIST_SUBDIR= oolite EXTRACT_ONLY= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= avg@icyb.net.ua COMMENT= Trade and combat space simulator, clone of Elite FETCH_ARGS+= -a WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION} .if !defined(WITH_GNUSTEP_DEVEL) IGNORE= need gnustep version >= 1.22 (built with "WITH_GNUSTEP_DEVEL=yes") .endif 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 # explicit dependency to enforce GNUstep version requirement BUILD_DEPENDS+= gnustep-base-devel>=1.22:${PORTSDIR}/${GNUSTEP_BASE_PORT} USE_BZIP2= yes 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 USE_PERL5_BUILD= yes USE_PYTHON_BUILD= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message 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 \ ) 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 ${MKDIR} ${PREFIX}/share/applications ${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} .include end-comp.h?h=master'>commitdiffstats
blob: 8162714e947a23e8f31c5c4ec6d678f88bb9f423 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33