diff options
-rw-r--r-- | graphics/xmms-nebulus/Makefile | 30 | ||||
-rw-r--r-- | graphics/xmms-nebulus/distinfo | 2 |
2 files changed, 23 insertions, 9 deletions
diff --git a/graphics/xmms-nebulus/Makefile b/graphics/xmms-nebulus/Makefile index 55f5c97a050b..94e6a171b150 100644 --- a/graphics/xmms-nebulus/Makefile +++ b/graphics/xmms-nebulus/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xmms-nebulus -PORTVERSION= 0.3.0 +PORTVERSION= 0.5.0 CATEGORIES= graphics MASTER_SITES= http://nebulus.tuxfamily.org/ @@ -17,18 +17,32 @@ BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - USE_X_PREFIX= yes USE_MESA= yes USE_GNOME= gtk12 -GNU_CONFIGURE= yes +USE_BZIP2= yes +USE_LIBTOOL= yes USE_REINPLACE= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config +CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG} +MAKE_ENV+= SDL_CONFIG=${SDL_CONFIG} post-patch: - @${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL11/SDL.h|g; \ - s|SDL/SDL_thread.h|SDL11/SDL_thread.h|g' \ - ${WRKSRC}/src/nebulus.c + @${REINPLACE_CMD} -E -e \ + 's|SDL/SDL.h|SDL11/SDL.h|; \ + s|SDL/SDL_opengl.h|SDL11/SDL_opengl.h|; \ + s|SDL/SDL_thread.h|SDL11/SDL_thread.h|' \ + ${WRKSRC}/src/nebulus.h \ + ${WRKSRC}/src/nebulus.c \ + ${WRKSRC}/src/face_data.c \ + ${WRKSRC}/src/child_data.c \ + ${WRKSRC}/configure + + @${REINPLACE_CMD} -e \ + 's|-Wall||' \ + ${WRKSRC}/src/Makefile.in .include <bsd.port.mk> diff --git a/graphics/xmms-nebulus/distinfo b/graphics/xmms-nebulus/distinfo index 353f90e51c98..4c11d64c695f 100644 --- a/graphics/xmms-nebulus/distinfo +++ b/graphics/xmms-nebulus/distinfo @@ -1 +1 @@ -MD5 (xmms-nebulus-0.3.0.tar.gz) = 7c56c0587f1ae610c242b1db88fad22b +MD5 (xmms-nebulus-0.5.0.tar.bz2) = cd88bdd3e0813698a8acbdf6891d51cc |