aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2009-05-08 03:57:44 +0800
committeroliver <oliver@FreeBSD.org>2009-05-08 03:57:44 +0800
commitc775cce738d7d6a28260ead3d651d0dd27387725 (patch)
tree1269f5d78e9d89d2188dbbcac5e1375567c4f7d9 /games
parent854255bea27cf7cafd91ba330f80bdd7c6b2a794 (diff)
downloadfreebsd-ports-gnome-c775cce738d7d6a28260ead3d651d0dd27387725.tar.gz
freebsd-ports-gnome-c775cce738d7d6a28260ead3d651d0dd27387725.tar.zst
freebsd-ports-gnome-c775cce738d7d6a28260ead3d651d0dd27387725.zip
install OISInput.cfg as well
Diffstat (limited to 'games')
-rw-r--r--games/freeorion/Makefile3
-rw-r--r--games/freeorion/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile
index 6c35a7f60269..9288814e586a 100644
--- a/games/freeorion/Makefile
+++ b/games/freeorion/Makefile
@@ -42,12 +42,15 @@ post-patch:
${WRKSRC}/UI/TechTreeWnd.cpp
@${REINPLACE_CMD} -e 's|"ogre_plugins.cfg"|"${DATADIR}/ogre_plugins.cfg"|g' \
${WRKSRC}/client/human/chmain.cpp
+ @${REINPLACE_CMD} -e 's|"OISInput.cfg"|"${DATADIR}/OISInput.cfg"|g' \
+ ${WRKSRC}/client/human/HumanClientApp.cpp
@${REINPLACE_CMD} -e 's|Plugin=Plugin_CgProgramManager|#&|g; \
s|\(PluginFolder=\)\.|\1${LOCALBASE}/lib/OGRE|g' \
${WRKSRC}/ogre_plugins.cfg
post-install:
${INSTALL_DATA} ${WRKSRC}/ogre_plugins.cfg ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/OISInput.cfg ${DATADIR}
maint-gen-distfile:
@if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
diff --git a/games/freeorion/pkg-plist b/games/freeorion/pkg-plist
index ee0429c924af..62989d743f79 100644
--- a/games/freeorion/pkg-plist
+++ b/games/freeorion/pkg-plist
@@ -1518,6 +1518,7 @@ bin/freeoriond
%%DATADIR%%/default/techs.txt
%%DATADIR%%/default/universe_tables.txt
%%DATADIR%%/ogre_plugins.cfg
+%%DATADIR%%/OISInput.cfg
@dirrm %%DATADIR%%/default/AI
@dirrm %%DATADIR%%/default/data/art/stars_sidepanel
@dirrm %%DATADIR%%/default/data/art/hulls_design