aboutsummaryrefslogtreecommitdiffstats
path: root/devel/orc/Makefile
blob: cd7ef78967f13f9c89cc27ce30b17cb41506f9ee (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
47
48
49
# New ports collection makefile for:    orc
# Date created:             Mar 09, 2010
# Whom:                 mm
#
# $FreeBSD$

PORTNAME=   orc
PORTVERSION=    0.4.8
CATEGORIES= devel
MASTER_SITES=   http://code.entropywave.com/download/orc/

MAINTAINER= mm@FreeBSD.org
COMMENT=    Library and toolset to operate arrays of data

USE_GNOME=  pkgconfig
USE_AUTOTOOLS=  libtool:22
USE_LDCONFIG=   yes
USE_GMAKE=  yes

CONFIGURE_ARGS+=    --disable-gtk-doc

SUBDIRS=    orc orc-test tools

OPTIONS=    DOCS "Include gtk-doc documentation" off \
        EXAMPLES "Install example files" off

.include <bsd.port.pre.mk>

.if defined(WITH_DOCS) && !defined(NOPORTDOCS)
SUBDIRS+=   doc
.else
NOPORTDOCS= yes
.endif

.if defined(WITH_EXAMPLES) && !defined(NOPORTEXAMPLES)
SUBDIRS+=   examples
.else
NOPORTEXAMPLES= yes
.endif

MAKE_ARGS+= SUBDIRS="${SUBDIRS}"

post-patch:
    @${REINPLACE_CMD} \
        -E -e '/LIBS/s/-lrt(\ )*//; /LIBRT/s/-lrt//' \
        -e 's|pkgconfigdir=.*|pkgconfigdir=\"\\$$(prefix)/libdata/pkgconfig\"|g' \
        ${WRKSRC}/configure 

.include <bsd.port.post.mk>