aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ORBacus/Makefile
blob: 414cd76b5afb2f46ae1da2f54e3f9edb7547c495 (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
# New ports collection makefile for:    ORBacus
# Date created:     22 June 1998
# Whom:         ejc@bazzle.com
# Version required: 3.0
#
# $Id: Makefile,v 1.21 1999/06/04 13:29:21 ejc Exp $
#

DISTNAME=   OB-3.1.3
PKGNAME=    ORBacus-3.1.3
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.ooc.com/pub/OB/3.1/

MAINTAINER= ejc@bazzle.com

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 400000
LIBSTDC=    /usr/lib/libstdc++.a
CONFIGURE_ENV=  CXX=c++ CXXFLAGS="-O -pipe"
.else
.if ${PORTOBJFORMAT} == "elf"
LIBSTDC=    ${PREFIX}/lib/gcc-lib/i386-unknown-freebsdelf${OSREL}/egcs-2.91.62/libstdc++.a
.else
LIBSTDC=    ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${OSREL}/egcs-2.91.62/libstdc++.a
.endif

BUILD_DEPENDS=  eg++:${PORTSDIR}/lang/egcs
CONFIGURE_ENV=  CXX=eg++ CXXFLAGS="-O -pipe"
.endif

USE_XLIB=   yes
HAS_CONFIGURE=  yes
MAN1=       idl.1
MLINKS=     idl.1 hidl.1    - irdel.1   - irfeed.1 \
        - irgen.1   - irserv.1  - jidl.1

post-install:
    ${LDCONFIG} -m ${PREFIX}/lib
    ${MKDIR} ${PREFIX}/share/doc/ORBacus
    ${INSTALL_DATA} ${WRKSRC}/ob/LICENSE ${PREFIX}/share/doc/ORBacus

.include <bsd.port.post.mk>