aboutsummaryrefslogtreecommitdiff
path: root/graphics/kludge3d/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-12 20:19:17 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-12 20:19:17 +0000
commit28345d26f1305b929c1f6fbf9aeb3861237edbb3 (patch)
tree79206ae9f12dc4410bab06cee3032ade62201130 /graphics/kludge3d/Makefile
parentf573a7bae9e18357dc23b438f676540fca81ab2a (diff)
downloadports-28345d26f1305b929c1f6fbf9aeb3861237edbb3.tar.gz
ports-28345d26f1305b929c1f6fbf9aeb3861237edbb3.zip
Notes
Diffstat (limited to 'graphics/kludge3d/Makefile')
-rw-r--r--graphics/kludge3d/Makefile28
1 files changed, 18 insertions, 10 deletions
diff --git a/graphics/kludge3d/Makefile b/graphics/kludge3d/Makefile
index a80220b143d9..0b40395db007 100644
--- a/graphics/kludge3d/Makefile
+++ b/graphics/kludge3d/Makefile
@@ -7,25 +7,33 @@
#
PORTNAME= kludge3d
-PORTVERSION= 20020301
+PORTVERSION= 20020702
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea \
- 3ds:${PORTSDIR}/graphics/lib3ds
+LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
+ 3ds.1:${PORTSDIR}/graphics/lib3ds
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_LIBTOOL= yes
USE_GTK= yes
USE_MESA= yes
-USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= \
- CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -lm -lX11 -lXext"
+USE_REINPLACE= yes
USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= -I${LOCALBASE}/include -L${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lX11 -lXext \
+ ${PTHREAD_LIBS}
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \
+ s| install-pixmapsDATA||g'
.include <bsd.port.mk>