aboutsummaryrefslogtreecommitdiff
path: root/games/fgrun
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-19 10:05:45 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-19 10:05:45 +0000
commitfd2a5027f6caa86e2802b97afc8a6d94689ede33 (patch)
tree61f75cbdbee021e93089d39e763f92926745f303 /games/fgrun
parent176fecc48a6099c9aedb19fadb7aafa529312de0 (diff)
downloadports-fd2a5027f6caa86e2802b97afc8a6d94689ede33.tar.gz
ports-fd2a5027f6caa86e2802b97afc8a6d94689ede33.zip
Notes
Diffstat (limited to 'games/fgrun')
-rw-r--r--games/fgrun/Makefile31
-rw-r--r--games/fgrun/distinfo6
-rw-r--r--games/fgrun/pkg-plist39
3 files changed, 47 insertions, 29 deletions
diff --git a/games/fgrun/Makefile b/games/fgrun/Makefile
index e2f905ae3c9d..eef15b5cfd77 100644
--- a/games/fgrun/Makefile
+++ b/games/fgrun/Makefile
@@ -6,24 +6,39 @@
#
PORTNAME= fgrun
-PORTVERSION= 1.0.1
+PORTVERSION= 1.5.0
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= buganini@gmail.com
COMMENT= A graphical frontend to run FlightGear Flight Simulator
-BUILD_DEPENDS= fltk-threads>=1.1.0:${PORTSDIR}/x11-toolkits/fltk-threads \
- plib>=1.8.4:${PORTSDIR}/x11-toolkits/plib \
- SimGear>=0.3.10:${PORTSDIR}/devel/simgear
-RUN_DEPENDS= fltk-threads>=1.1.0:${PORTSDIR}/x11-toolkits/fltk-threads \
- plib>=1.8.4:${PORTSDIR}/x11-toolkits/plib \
- SimGear>=0.3.10:${PORTSDIR}/devel/simgear \
- fgfs:${PORTSDIR}/games/flightgear
+BUILD_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
+ osg>=2.6.1:${PORTSDIR}/graphics/osg \
+ SimGear>=1.9.0:${PORTSDIR}/devel/simgear \
+ plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib
+RUN_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
+ osg>=2.6.1:${PORTSDIR}/graphics/osg \
+ SimGear>=1.9.0:${PORTSDIR}/devel/simgear \
+ fgfs:${PORTSDIR}/games/flightgear \
+ plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= gl
+
+.if defined(WITHOUT_NLS)
+PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS= --disable-nls
+.else
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+post-patch:
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} 's|SUBDIRS = src po msvc|SUBDIRS = src|' \
+ ${WRKSRC}/Makefile.in
+.endif
.include <bsd.port.mk>
diff --git a/games/fgrun/distinfo b/games/fgrun/distinfo
index b209746f3278..3b4f967ecd27 100644
--- a/games/fgrun/distinfo
+++ b/games/fgrun/distinfo
@@ -1,3 +1,3 @@
-MD5 (fgrun-1.0.1.tar.gz) = 1e3fd8e99d2afed13ad152301345fd8f
-SHA256 (fgrun-1.0.1.tar.gz) = 6e0b55935699de5d8a6386a9f273a2640a04d3e2dce6774520c8e4bad3603303
-SIZE (fgrun-1.0.1.tar.gz) = 341124
+MD5 (fgrun-1.5.0.tar.gz) = b338342149c8794079068396dcb9538a
+SHA256 (fgrun-1.5.0.tar.gz) = 15ab80410d277df87c2568f4bdf9725a8442193f0460e9e03fc80f59b7f69e51
+SIZE (fgrun-1.5.0.tar.gz) = 379646
diff --git a/games/fgrun/pkg-plist b/games/fgrun/pkg-plist
index 2df830676c80..47c705d736ba 100644
--- a/games/fgrun/pkg-plist
+++ b/games/fgrun/pkg-plist
@@ -1,19 +1,22 @@
bin/fgrun
-share/locale/de/LC_MESSAGES/fgrun.mo
-share/locale/fr/LC_MESSAGES/fgrun.mo
-share/locale/it/LC_MESSAGES/fgrun.mo
-share/locale/nl/LC_MESSAGES/fgrun.mo
-share/locale/pl/LC_MESSAGES/fgrun.mo
-share/locale/pt/LC_MESSAGES/fgrun.mo
-@dirrmtry share/locale/de/LC_MESSAGES
-@dirrmtry share/locale/fr/LC_MESSAGES
-@dirrmtry share/locale/it/LC_MESSAGES
-@dirrmtry share/locale/nl/LC_MESSAGES
-@dirrmtry share/locale/pl/LC_MESSAGES
-@dirrmtry share/locale/pt/LC_MESSAGES
-@dirrmtry share/locale/de
-@dirrmtry share/locale/fr
-@dirrmtry share/locale/it
-@dirrmtry share/locale/nl
-@dirrmtry share/locale/pl
-@dirrmtry share/locale/pt
+%%NLS%%share/locale/de/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/es/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/it/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/fgrun.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/fgrun.mo
+%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/it/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/nl/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pt/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/de
+%%NLS%%@dirrmtry share/locale/es
+%%NLS%%@dirrmtry share/locale/fr
+%%NLS%%@dirrmtry share/locale/it
+%%NLS%%@dirrmtry share/locale/nl
+%%NLS%%@dirrmtry share/locale/pl
+%%NLS%%@dirrmtry share/locale/pt