aboutsummaryrefslogtreecommitdiffstats
path: root/devel/omniORB/Makefile
blob: 7b80d627a1f2a140ed155a99efdc90585a31c561 (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.3 1998/06/06 17:41:14 steve 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

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>