diff --git a/devel/gengameng/Makefile b/devel/gengameng/Makefile index d1777b01d95d..ec5e54b8b78c 100644 --- a/devel/gengameng/Makefile +++ b/devel/gengameng/Makefile @@ -6,27 +6,27 @@ # PORTNAME= gengameng -PORTVERSION= 3.0 +PORTVERSION= 4.1 CATEGORIES= devel -MASTER_SITES= http://sites.netscape.net/sarrazip/ +MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ MAINTAINER= markp@FreeBSD.org LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image +RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 -USE_X_PREFIX= yes +USE_REINPLACE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" +CONFIGURE_ARGS+= --program-prefix="" +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" \ + LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \ + SDL_CONFIG="${SDL_CONFIG}" -pre-patch: - ${PERL} -pi -e "s|sdl-config|${SDL_CONFIG}|g; \ - s|include/SDL/|include/SDL11/|g" ${WRKSRC}/configure - -post-configure: - ${PERL} -pi -e \ - "s/^deplibs_check_method=.*/deplibs_check_method=pass_all/" \ - ${WRKSRC}/libtool +post-patch: + ${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \ + s|/bin/sh|/usr/local/bin/bash|g" ${WRKSRC}/gengameng-config.in + ${REINPLACE_CMD} -e "s/sdl_image.m4//" ${WRKSRC}/macros/Makefile.in .include diff --git a/devel/gengameng/distinfo b/devel/gengameng/distinfo index 36ce86cdd9fb..39d8a1795518 100644 --- a/devel/gengameng/distinfo +++ b/devel/gengameng/distinfo @@ -1 +1 @@ -MD5 (gengameng-3.0.tar.gz) = 576a3d59776e3730f87a13107c65be18 +MD5 (gengameng-4.1.tar.gz) = 112322dbdc6684717cdfd7c61d225655 diff --git a/devel/gengameng/pkg-comment b/devel/gengameng/pkg-comment index 1356af1543cd..2e4a4580a24b 100644 --- a/devel/gengameng/pkg-comment +++ b/devel/gengameng/pkg-comment @@ -1 +1 @@ -An X11 game engine library +An SDL game engine library diff --git a/devel/gengameng/pkg-descr b/devel/gengameng/pkg-descr index f4af28b270bd..72f3b284061a 100644 --- a/devel/gengameng/pkg-descr +++ b/devel/gengameng/pkg-descr @@ -1,4 +1,4 @@ The Generic Game Engine library. It supports the double-buffering -animation technique: one invisible X11 pixmap where an image is -prepared, and one visible X11 window to which a prepared image is -copied at every animation period. +animation technique: one invisible pixmap where an image is prepared, +and one visible window to which a prepared image is copied at every +animation period. diff --git a/devel/gengameng/pkg-plist b/devel/gengameng/pkg-plist index 096e7f63980a..6e1c2d7f0599 100644 --- a/devel/gengameng/pkg-plist +++ b/devel/gengameng/pkg-plist @@ -1,10 +1,12 @@ -lib/libgengameng.so.3 -lib/libgengameng.so +bin/gengameng-config include/gengameng/Couple.h include/gengameng/GameEngine.h include/gengameng/Gengameng_LoadCompiledXPM.h include/gengameng/PixmapArray.h include/gengameng/PixmapLoadError.h include/gengameng/Sprite.h -include/gengameng/goodies.h +lib/libgengameng.la +lib/libgengameng.so +lib/libgengameng.so.4 +share/aclocal/gengameng.m4 @dirrm include/gengameng