freebsd-ports/graphics/kludge3d/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

41 lines
898 B
Makefile

# ex:ts=8
# Ports collection makefile for: kludge3d
# Date created: May 7, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= kludge3d
PORTVERSION= 20040822
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/source/2004-08-22
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple 3d editor
LIB_DEPENDS= 3ds-1.3:${PORTSDIR}/graphics/lib3ds \
gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_PYTHON= yes
USE_GL= gl
USE_GNOME= gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lib-GL
PLIST_FILES= bin/kludge3d
CPPFLAGS+= -I${LOCALBASE}/include \
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib \
-L${PYTHON_LIBDIR}/config ${PTHREAD_LIBS}
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \
s| install-pixmapsDATA||g ; \
s|-lpthread||g'
.include <bsd.port.mk>