diff options
author | oliver <oliver@FreeBSD.org> | 2009-05-08 01:05:10 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2009-05-08 01:05:10 +0800 |
commit | 9945ff08d1e04e32206e082a3d02c2c143957728 (patch) | |
tree | f48db1f62c1ad8b58f435ba62c16756e32e1e296 /games | |
parent | 8b446e6fbdfd1102f6df4af771f0930b23ebc2c8 (diff) | |
download | freebsd-ports-gnome-9945ff08d1e04e32206e082a3d02c2c143957728.tar.gz freebsd-ports-gnome-9945ff08d1e04e32206e082a3d02c2c143957728.tar.zst freebsd-ports-gnome-9945ff08d1e04e32206e082a3d02c2c143957728.zip |
install ogre_plugins.cfg too
Diffstat (limited to 'games')
-rw-r--r-- | games/freeorion/Makefile | 8 | ||||
-rw-r--r-- | games/freeorion/pkg-plist | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile index 651946a65ff0..6c35a7f60269 100644 --- a/games/freeorion/Makefile +++ b/games/freeorion/Makefile @@ -40,6 +40,14 @@ SCONS_ARGS+= release=yes post-patch: @${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|g' \ ${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|Plugin=Plugin_CgProgramManager|#&|g; \ + s|\(PluginFolder=\)\.|\1${LOCALBASE}/lib/OGRE|g' \ + ${WRKSRC}/ogre_plugins.cfg + +post-install: + ${INSTALL_DATA} ${WRKSRC}/ogre_plugins.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 cd13f2a062f8..ee0429c924af 100644 --- a/games/freeorion/pkg-plist +++ b/games/freeorion/pkg-plist @@ -1517,6 +1517,7 @@ bin/freeoriond %%DATADIR%%/default/swe_stringtable.txt %%DATADIR%%/default/techs.txt %%DATADIR%%/default/universe_tables.txt +%%DATADIR%%/ogre_plugins.cfg @dirrm %%DATADIR%%/default/AI @dirrm %%DATADIR%%/default/data/art/stars_sidepanel @dirrm %%DATADIR%%/default/data/art/hulls_design |