aboutsummaryrefslogtreecommitdiffstats
path: root/devel/omniORB/Makefile
blob: cf06b41f92bb1f84b26f1ee8074c59bc67678199 (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
# New ports collection makefile for:    omniORB
# Date created:     14 May 1997
# Whom:         ejc@bazzle.com
# Version required: 2.2.0
#
# $Id: Makefile,v 1.1.1.1 1997/06/04 05:54:33 asami Exp $
#

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

BROKEN=     posix.cc

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

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>