summaryrefslogtreecommitdiffstats
path: root/devel/ORBacus/Makefile
blob: 918411ced22ae57d67d693b1c35bac80f5ec7c84 (plain)
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.22 1999/07/12 07:18:36 asami 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/${ARCH}-portbld-freebsd${OSREL}/2.95/libstdc++.a
.else
LIBSTDC=	${PREFIX}/lib/gcc-lib/${ARCH}-portbld-freebsdaout${OSREL}/2.95/libstdc++.a
.endif

BUILD_DEPENDS=  g++295:${PORTSDIR}/lang/egcs
CONFIGURE_ENV=	CXX=g++295 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>
OpenPOWER on IntegriCloud