Index: head/games/pinball/Makefile =================================================================== --- head/games/pinball/Makefile (revision 428506) +++ head/games/pinball/Makefile (revision 428507) @@ -1,57 +1,52 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= pinball PORTVERSION= 0.3.1 PORTREVISION= 20 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Emilia Pinball is a free pinball game LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool:keepla # .la needed for plugin loading -USE_GL= gl +USES= gmake localbase:ldflags libtool:keepla # .la needed for plugin loading +USE_GL= gl glu GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-debug USE_LDCONFIG= yes -CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug +CPPFLAGS+= -DRZR_LIBSTATIC OPTIONS_DEFINE= DOCS .if defined(WITH_ALLEGRO) BROKEN= support with Allegro is (temporarily?) broken as of version 0.3.1 LIB_DEPENDS+= liballeg.so:devel/allegro CONFIGURE_ARGS+= --with-allegro USE_GL+= glu .else USE_SDL= image mixer sdl .endif - -CPPFLAGS+= -I${LOCALBASE}/include -DRZR_LIBSTATIC -LDFLAGS+= -L${LOCALBASE}/lib #MAKE_JOBS_UNSAFE= yes -DOCS= README - # For gmake>=3.82 pre-configure: @${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ ${REINPLACE_CMD} -e 's,^dnl,# dnl,' post-install: @${MV} ${STAGEDIR}/var/games/pinball/professor/highscores \ ${STAGEDIR}/var/games/pinball/professor/highscores.sample @${MV} ${STAGEDIR}/var/games/pinball/tux/highscores \ ${STAGEDIR}/var/games/pinball/tux/highscores.sample @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for FILE in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} -.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/games/pinball/files/patch-base_Config.cpp =================================================================== --- head/games/pinball/files/patch-base_Config.cpp (nonexistent) +++ head/games/pinball/files/patch-base_Config.cpp (revision 428507) @@ -0,0 +1,13 @@ +--- base/Config.cpp.orig 2003-11-21 07:59:09 UTC ++++ base/Config.cpp +@@ -423,8 +423,8 @@ void Config::setPaths(char const * const + m_sDataDir = string(EM_DATADIR) + "/"; + m_sExeDir = "./"; + if ( *( m_sDataDir.c_str() ) != '/' ) { +- char* ptr=0; +- char* ptrw = 0; ++ const char* ptr=0; ++ const char* ptrw = 0; + //cout<<"relative to exe file"<