Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / kludge3d / Makefile
1 # Created by: ijliao
2 # $FreeBSD$
3
4 PORTNAME=       kludge3d
5 PORTVERSION=    20040822
6 PORTREVISION=   12
7 CATEGORIES=     graphics
8 MASTER_SITES=   SF/${PORTNAME}/source/2004-08-22
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Simple 3D editor
12
13 LIB_DEPENDS=    lib3ds.so:graphics/lib3ds \
14                 libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
15
16 USES=           gmake pkgconfig python
17 USE_GL=         gl
18 USE_GNOME=      gtk20
19 GNU_CONFIGURE=  yes
20 CONFIGURE_ARGS= --with-lib-GL
21
22 PLIST_FILES=    bin/kludge3d
23
24 CPPFLAGS+=      -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR}
25 LDFLAGS+=       -L${LOCALBASE}/lib -L${PYTHON_LIBDIR}/config -lpthread -lm
26
27 post-patch:
28         @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
29                 's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \
30                  s| install-pixmapsDATA||g ; \
31                  s|-lpthread||g'
32
33 .include <bsd.port.mk>