blob: b1afc282e60a6487d093bd9d818a1a2e40ce7101 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $NetBSD: Makefile,v 1.8 2014/01/19 11:28:59 wiz Exp $
DISTNAME= omniORB-4.1.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=omniorb/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ianzag@mail.ru
HOMEPAGE= http://omniorb.sourceforge.net/
COMMENT= CORBA ORB
MAKE_FILE= GNUmakefile
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniCOS4.pc.in
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniCOSDynamic4.pc.in
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniConnectionMgmt4.pc.in
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniDynamic4.pc.in
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omniORB4.pc.in
PKGCONFIG_OVERRIDE+= contrib/pkgconfig/omnithread3.pc.in
# omniORB requires native threads support
PTHREAD_OPTS= require native
RCD_SCRIPTS= omninames
OMNIORB_ETCDIR?= ${PKG_SYSCONFDIR}
OMNIORB_CONFIG= ${OMNIORB_ETCDIR}/omniORB.cfg
CONFIGURE_ARGS+= --with-omniORB-config=${OMNIORB_CONFIG:Q}
#CONFIGURE_ARGS+= --with-omniNames-logdir=
#CONFIGURE_ARGS+= --with-openssl
PKG_OPTIONS_VAR= PKG_OPTIONS.omniORB
PKG_SUPPORTED_OPTIONS= inet6
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=--disable-ipv6
.endif
PY_PATCHPLIST= yes
REPLACE_PYTHON+= src/tool/omniidl/python/scripts/omniidlrun.py
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/omniORB/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/omniORB/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/omniORB/omniORB
${INSTALL_DATA} ${WRKSRC}/sample.cfg \
${DESTDIR}${PREFIX}/share/examples/omniORB/
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${DESTDIR}${PREFIX}/share/doc/omniORB/
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf \
${DESTDIR}${PREFIX}/share/doc/omniORB/
${INSTALL_DATA} ${WRKSRC}/doc/omniORB/* \
${DESTDIR}${PREFIX}/share/doc/omniORB/omniORB/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_MAN} ${WRKSRC}/man/man1/* \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|