aboutsummaryrefslogtreecommitdiffstats
path: root/games/ember/Makefile
diff options
context:
space:
mode:
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