0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: oolite
|
|
# Date created: 04 Oct 2005
|
|
# Whom: Andriy Gapon <avg@icyb.net.ua>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= oolite
|
|
PORTVERSION= 1.65
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://download.berlios.de/oolite-linux/ \
|
|
http://download2.berlios.de/oolite-linux/ \
|
|
ftp://ftp.alioth.net/oolite/
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} \
|
|
${PORTNAME}-${PORTVERSION}-data${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= avg@icyb.net.ua
|
|
COMMENT= Trade and combat space simulator, clone of Elite
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
|
|
USE_SDL= mixer image gfx
|
|
USE_GMAKE= yes
|
|
USE_GNUSTEP= yes
|
|
USE_GNUSTEP_BASE= yes
|
|
USE_GNUSTEP_BUILD= yes
|
|
USE_GNUSTEP_PREFIX= yes
|
|
MAKEFILE= GNUmakefile
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s#sdl-config#${SDL_CONFIG}#g" ${WRKSRC}/${MAKEFILE}
|
|
|
|
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
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|