aboutsummaryrefslogtreecommitdiffstats
path: root/games/flightgear-atlas
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-05-18 03:40:35 +0800
committermiwi <miwi@FreeBSD.org>2008-05-18 03:40:35 +0800
commitb7daf6536c270ab1edb74a81e8ba11983ad39996 (patch)
tree6dd1b95560523ddda983cb617819558ce26edca6 /games/flightgear-atlas
parent17944a6c517e38be0aba9f335e1b4351ac3f5621 (diff)
downloadfreebsd-ports-gnome-b7daf6536c270ab1edb74a81e8ba11983ad39996.tar.gz
freebsd-ports-gnome-b7daf6536c270ab1edb74a81e8ba11983ad39996.tar.zst
freebsd-ports-gnome-b7daf6536c270ab1edb74a81e8ba11983ad39996.zip
- Unbreak
- Update to 0.3.0.20080504 - Pass maintainership to submitter PR: 123397 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
Diffstat (limited to 'games/flightgear-atlas')
-rw-r--r--games/flightgear-atlas/Makefile21
-rw-r--r--games/flightgear-atlas/distinfo6
-rw-r--r--games/flightgear-atlas/pkg-descr3
-rw-r--r--games/flightgear-atlas/pkg-plist1
4 files changed, 16 insertions, 15 deletions
diff --git a/games/flightgear-atlas/Makefile b/games/flightgear-atlas/Makefile
index a79423f612af..e91418c94ea8 100644
--- a/games/flightgear-atlas/Makefile
+++ b/games/flightgear-atlas/Makefile
@@ -6,28 +6,30 @@
#
PORTNAME= flightgear-atlas
-PORTVERSION= 0.3.0
-PORTREVISION= 6
+PORTVERSION= 0.3.0.20080504
CATEGORIES= games
-MASTER_SITES= SF/atlas
+MASTER_SITES= http://contribs.martymac.com/FreeBSD-ports/distfiles/ \
+ http://freebsd.unixfreunde.de/sources/
DISTNAME= Atlas-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ganael.laplanche@martymac.com
COMMENT= A map viewer for use with the FlightGear flight simulator
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
- glut.4:${PORTSDIR}/graphics/libglut
+ curl.4:${PORTSDIR}/ftp/curl
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear \
${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
-BROKEN= Does not build
+USE_AUTOTOOLS= aclocal:19 autoheader:261 automake:15 autoconf:261
+AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE= yes
-USE_GL= yes
+USE_XORG= ice sm x11 xext xi xt xmu
+USE_GL= gl glu glut
CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${LOCALBASE}/lib
@@ -35,8 +37,9 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-fgbase="${LOCALBASE}/share/FlightGear"
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|^base_LIBS="$$LIBS"|base_LIBS="$$LIBS ${PTHREAD_LIBS}"|' ${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's|^AC_CHECK_LIB(pthread, pthread_exit)||' ${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/src/Makefile.am
post-install:
${INSTALL_DATA} ${WRKSRC}/src/AtlasPalette ${LOCALBASE}/share/FlightGear
diff --git a/games/flightgear-atlas/distinfo b/games/flightgear-atlas/distinfo
index 63ab6563803c..a042b7f9f17a 100644
--- a/games/flightgear-atlas/distinfo
+++ b/games/flightgear-atlas/distinfo
@@ -1,3 +1,3 @@
-MD5 (Atlas-0.3.0.tar.gz) = 863a878322a60873785a163d394c3075
-SHA256 (Atlas-0.3.0.tar.gz) = 14214a5e7f927f23de0353012c3649649f568f66723800d535adf361b4602e6e
-SIZE (Atlas-0.3.0.tar.gz) = 199379
+MD5 (Atlas-0.3.0.20080504.tar.gz) = a1e884dc3f75e82db7f7b2129cf074f2
+SHA256 (Atlas-0.3.0.20080504.tar.gz) = 8c4447debc1ad6bbd63622131179f3805d1bbda2a13e278a06f5e8fde03f2598
+SIZE (Atlas-0.3.0.20080504.tar.gz) = 133687
diff --git a/games/flightgear-atlas/pkg-descr b/games/flightgear-atlas/pkg-descr
index d73da3f9a399..8aa6a70320bc 100644
--- a/games/flightgear-atlas/pkg-descr
+++ b/games/flightgear-atlas/pkg-descr
@@ -11,6 +11,3 @@ connect directly to FlightGear and display your aircrafts current location on a
so called moving map display.
WWW: http://atlas.sourceforge.net/
-
-- Jean-Yves Lefort
-jylefort@FreeBSD.org
diff --git a/games/flightgear-atlas/pkg-plist b/games/flightgear-atlas/pkg-plist
index d7a1656d685d..2f07c4e4894c 100644
--- a/games/flightgear-atlas/pkg-plist
+++ b/games/flightgear-atlas/pkg-plist
@@ -1,4 +1,5 @@
bin/Atlas
+bin/GetMap
bin/Map
bin/MapPS
bin/buildmaps.sh