diff options
-rw-r--r-- | x11-toolkits/paragui-devel/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/paragui-devel/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/paragui/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/paragui/distinfo | 2 |
4 files changed, 22 insertions, 16 deletions
diff --git a/x11-toolkits/paragui-devel/Makefile b/x11-toolkits/paragui-devel/Makefile index 5fd4b183671..3ef8e1122d5 100644 --- a/x11-toolkits/paragui-devel/Makefile +++ b/x11-toolkits/paragui-devel/Makefile @@ -7,15 +7,16 @@ # PORTNAME= paragui -PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTVERSION= 1.0.4 +PORTREVISION= 0 CATEGORIES= x11-toolkits -MASTER_SITES= ftp://ftp.bms-austria.com/pub/paragui/release/ +MASTER_SITES= http://savannah.nongnu.org/download/paragui/stable.pkg/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform high-level application framework and GUI library -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ +LIB_DEPENDS= physfs-0.1.8:${PORTSDIR}/devel/physfs \ + SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ SDL_image.10:${PORTSDIR}/graphics/sdl_image \ SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ expat.4:${PORTSDIR}/textproc/expat2 @@ -31,17 +32,19 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes -SHLIB_VER= 3 +SHLIB_VER= 4 PLIST_SUB= SHLIB_VER="${SHLIB_VER}" post-extract: @${RM} -f ${WRKSRC}/src/physfs/platform.c post-patch: - ${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ + @${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \ - s|lib/pkgconfig|libdata/pkgconfig|g' + s|lib/pkgconfig|libdata/pkgconfig|g ; \ + s|-L[./]*../src|&/.libs |g' .include <bsd.port.mk> diff --git a/x11-toolkits/paragui-devel/distinfo b/x11-toolkits/paragui-devel/distinfo index 6f99da3f919..14d01487c4e 100644 --- a/x11-toolkits/paragui-devel/distinfo +++ b/x11-toolkits/paragui-devel/distinfo @@ -1 +1 @@ -MD5 (paragui-1.0.2.tar.gz) = 57ca321ef8222d7f8ce55ad620adf63c +MD5 (paragui-1.0.4.tar.gz) = fc0cfcb31e28c2f7ff7e9900d3c5f651 diff --git a/x11-toolkits/paragui/Makefile b/x11-toolkits/paragui/Makefile index 5fd4b183671..3ef8e1122d5 100644 --- a/x11-toolkits/paragui/Makefile +++ b/x11-toolkits/paragui/Makefile @@ -7,15 +7,16 @@ # PORTNAME= paragui -PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTVERSION= 1.0.4 +PORTREVISION= 0 CATEGORIES= x11-toolkits -MASTER_SITES= ftp://ftp.bms-austria.com/pub/paragui/release/ +MASTER_SITES= http://savannah.nongnu.org/download/paragui/stable.pkg/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform high-level application framework and GUI library -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ +LIB_DEPENDS= physfs-0.1.8:${PORTSDIR}/devel/physfs \ + SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ SDL_image.10:${PORTSDIR}/graphics/sdl_image \ SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ expat.4:${PORTSDIR}/textproc/expat2 @@ -31,17 +32,19 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes -SHLIB_VER= 3 +SHLIB_VER= 4 PLIST_SUB= SHLIB_VER="${SHLIB_VER}" post-extract: @${RM} -f ${WRKSRC}/src/physfs/platform.c post-patch: - ${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ + @${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \ - s|lib/pkgconfig|libdata/pkgconfig|g' + s|lib/pkgconfig|libdata/pkgconfig|g ; \ + s|-L[./]*../src|&/.libs |g' .include <bsd.port.mk> diff --git a/x11-toolkits/paragui/distinfo b/x11-toolkits/paragui/distinfo index 6f99da3f919..14d01487c4e 100644 --- a/x11-toolkits/paragui/distinfo +++ b/x11-toolkits/paragui/distinfo @@ -1 +1 @@ -MD5 (paragui-1.0.2.tar.gz) = 57ca321ef8222d7f8ce55ad620adf63c +MD5 (paragui-1.0.4.tar.gz) = fc0cfcb31e28c2f7ff7e9900d3c5f651 |