1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/graphics/kludge3d/Makefile

41 lines
1013 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: kludge3d
# Date created: May 7, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= kludge3d
PORTVERSION= 20030709
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:08:19 +00:00
COMMENT= A simple 3d editor
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
3ds.1:${PORTSDIR}/graphics/lib3ds
USE_GNOME= gtk12
USE_PYTHON= yes
USE_MESA= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include -L${X11BASE}/include \
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lX11 -lXext \
-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'
.include <bsd.port.mk>