summaryrefslogtreecommitdiffstats
path: root/devel/omniORB/Makefile
blob: 08061c256423766ad2beb7bb59518637adb7910e (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
# New ports collection makefile for:	omniORB
# Date created:		14 May 1997
# Whom:			ejc@bazzle.com
# Version required:	2.2.0
#
# $FreeBSD$
#

DISTNAME=	omniORB_2.2.0
PKGNAME=	omniORB-2.2.0	
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.orl.co.uk/pub/omniORB/

MAINTAINER=	ejc@bazzle.com

MAN1=		omniidl2.1 nameclt.1 omniNames.1 catior.1 genior.1

BROKEN_ELF=	yes

pre-patch:
	${TOUCH} ${WRKSRC}/mk/freebsd_3.0.mk
	${LN} -s ${WRKSRC}/mk/freebsd_3.0.mk ${WRKDIR}/${DISTNAME}/mk/config.mk
	${MKDIR} ${WRKSRC}/src/tool/omniidl2/omniidl2
	${TOUCH} ${WRKSRC}/src/tool/omniidl2/omniidl2/Makefile
	${TOUCH} ${WRKSRC}/Makefile

post-install:
	${INSTALL_MAN} ${WRKSRC}/man/man1/* ${PREFIX}/man/man1
	${MKDIR} ${PREFIX}/include/omniORB2
	${MKDIR} ${PREFIX}/include/omnithread
	${INSTALL_DATA} ${WRKSRC}/include/omnithread.h ${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/include/omniORB2/* ${PREFIX}/include/omniORB2
	${INSTALL_DATA} ${WRKSRC}/include/omnithread/* ${PREFIX}/include/omnithread
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/omniORB
	${INSTALL_DATA} ${WRKSRC}/README.unix ${PREFIX}/share/doc/omniORB
	(cd ${WRKSRC}/doc; find . |cpio -pdumv ${PREFIX}/share/doc/omniORB)
.endif
	${LDCONFIG} -m $(PREFIX)/lib

.include <bsd.port.mk>
OpenPOWER on IntegriCloud