aboutsummaryrefslogtreecommitdiffstats
path: root/science/peekabot/Makefile
blob: 493d5b8befe95f5d04f134244c1a7800f25dec89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Created by: chris@officialunix.com
# $FreeBSD$

PORTNAME=   peekabot
PORTVERSION=    0.8.6
PORTREVISION=   5
CATEGORIES= science
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.x

MAINTAINER= c.petrik.sosa@gmail.com
COMMENT=    Distributed real-time 3D visualization tool for robotics researchers

LICENSE=    BSL GPLv3
LICENSE_COMB=   multi

BROKEN=     Does not build
DEPRECATED= Broken for more than 6 month
EXPIRATION_DATE=    2014-02-27

LIB_DEPENDS=    libboost_regex.so:${PORTSDIR}/devel/boost-libs \
        libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3 \
        libgtkglextmm-x11-1.2.so:${PORTSDIR}/x11-toolkits/gtkglextmm

USE_BZIP2=  yes
USES=   pathfix gmake
USE_GCC=    yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

NO_STAGE=   yes
.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>