aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/paragui/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-03 07:24:56 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-03 07:24:56 +0000
commit7e40c3002b656a9caea733d8d1825979b1a3c932 (patch)
tree58b2ea73580a5f11564c72949df7da6efd906440 /x11-toolkits/paragui/Makefile
parent4991f61b8e5d9f0701e8f5894adaf44c28ae7cb5 (diff)
downloadports-7e40c3002b656a9caea733d8d1825979b1a3c932.tar.gz
ports-7e40c3002b656a9caea733d8d1825979b1a3c932.zip
Notes
Diffstat (limited to 'x11-toolkits/paragui/Makefile')
-rw-r--r--x11-toolkits/paragui/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/x11-toolkits/paragui/Makefile b/x11-toolkits/paragui/Makefile
index 08b5e42a3530..2fd25b1f6c85 100644
--- a/x11-toolkits/paragui/Makefile
+++ b/x11-toolkits/paragui/Makefile
@@ -7,30 +7,34 @@
#
PORTNAME= paragui
-PORTVERSION= 0.7.2
+PORTVERSION= 1.0.0
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.bms-austria.com/pub/paragui/release/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
- SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image \
+ SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
+ expat.2:${PORTSDIR}/textproc/expat2
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
-USE_FREETYPE= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- CFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-USE_GMAKE= yes
-
INSTALLS_SHLIB= yes
+SHLIB_VER= 3
+PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
+
post-patch:
- @${PERL} -pi -e "s,\`sdl-config ,\`${SDL_CONFIG} ,g ; \
- s,SDL/,SDL11/,g" ${WRKSRC}/configure
+ @${PERL} -pi -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \
+ s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(SDL_CFLAGS\)|\$$\(PARAGUI_CFLAGS\)|g ; \
+ s|-release \$$\(LT_RELEASE\)||g'
.include <bsd.port.mk>