1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/science/peekabot/Makefile
Martin Wilke 2413206f0c - Remove unnecessary LIB_DEPENDS for x11-toolkits/fltk
- Switch to textproc/xerces-c3 instead of textproc/xerces-c2
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support CFLAGS properly

PR:		166050
Submitted by:	Ports Fury
Approved by:	maintainer
Feature safe:	yes
2012-04-08 10:31:29 +00:00

48 lines
1.0 KiB
Makefile

# New ports collection makefile for: peekabot
# Date created: 21 June 2009
# Whom: chris@officialunix.com
#
# $FreeBSD$
#
PORTNAME= peekabot
PORTVERSION= 0.8.6
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.x
MAINTAINER= 5u623l20@gmail.com
COMMENT= Distributed real-time 3D visualization tool for robotics researchers
LICENSE= BSL GPLv3
LICENSE_COMB= multi
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs \
xerces-c.3:${PORTSDIR}/textproc/xerces-c3 \
gtkglextmm-x11-1.2:${PORTSDIR}/x11-toolkits/gtkglextmm
USE_BZIP2= yes
USE_GNOME= gnomehack
USE_GCC= 4.6+
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= does not compile with boost on sparc64
.endif
post-patch:
@${REINPLACE_CMD} -e \
"/names_next_round/s|'xerces-c'|'xerces-c-3.1'|" ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
"/^AM_/s|-O2||" ${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>