aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ORBit/Makefile
blob: a55537f7f8d02a5e43f896e867e590a502389b07 (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
# New ports collection makefile for:   orbit
# Date Created:         16 Aug 1998
# Whom:             Chia-liang Kao <clkao@CirX.ORG>
#
# $FreeBSD$
#

PORTNAME=   ORBit
PORTVERSION=    0.5.17
PORTREVISION=   5
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    High-performance CORBA ORB with support for the C language

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GNOME=  glib12
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-indent
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

INFO=       libIDL

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/libIDL/configure ${WRKSRC}/popt/configure
    @${TOUCH} ${WRKSRC}/configure

post-install:
    @${ECHO_CMD} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc.default
    @${ECHO_CMD} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc.default
    @if [ ! -f ${PREFIX}/etc/orbitrc ]; then \
        ${CP} -p ${PREFIX}/etc/orbitrc.default ${PREFIX}/etc/orbitrc ; \
    fi

.include <bsd.port.mk>