aboutsummaryrefslogtreecommitdiffstats
path: root/games/ember/Makefile
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2009-05-14 15:32:18 +0800
committeroliver <oliver@FreeBSD.org>2009-05-14 15:32:18 +0800
commit138f5835e71ec61f6c53d152b937055b7494ee14 (patch)
tree3d124ffb531449fc14c3043fcfb5191b4a37cb4a /games/ember/Makefile
parent524025fd88bf100c1c5a6a5118be88cc3cc26a78 (diff)
downloadfreebsd-ports-gnome-138f5835e71ec61f6c53d152b937055b7494ee14.tar.gz
freebsd-ports-gnome-138f5835e71ec61f6c53d152b937055b7494ee14.tar.zst
freebsd-ports-gnome-138f5835e71ec61f6c53d152b937055b7494ee14.zip
fix media installation
Diffstat (limited to 'games/ember/Makefile')
-rw-r--r--games/ember/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/games/ember/Makefile b/games/ember/Makefile
index 56d410dfff21..6d3e910c1019 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -47,21 +47,15 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^CFLAGS =.*|& $${SDL_CFLAGS} -I${LOCALBASE}/include|g' \
${WRKSRC}/src/framework/Makefile.in
- @${REINPLACE_CMD} -e 's|<SDL/|<|g' \
- ${WRKSRC}/src/framework/scrap.c
- @${REINPLACE_CMD} -e 's|<SDL/|<|g; \
- s|sighandler_t|sig_t|g; \
- s|_NSIG|NSIG|g' \
+ @${REINPLACE_CMD} -e 's|sighandler_t|sig_t|g' \
${WRKSRC}/src/components/ogre/OgreSetup.cpp
- @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
- ${WRKSRC}/src/components/ogre/SceneManagers/EmberPagingSceneManager/src/filetutils.cpp
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|$$(sysconfdir)/ember/|$$(sysconfdir)/ember|g' \
${WRKSRC}/Makefile.in \
${WRKSRC}/src/components/ogre/Makefile.in
post-install:
- (cd ${WRKDIR}/media-${PORTVERSION} && ${FIND} . -type f -print | \
+ (cd ${WRKDIR}/media-${PORTVERSION}/media && ${FIND} . -type f -print | \
${CPIO} -pdmu -R${SHAREOWN}:${SHAREGRP} ${DATADIR}/media)
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644