1997-06-04 07:54:33 +02:00
|
|
|
# New ports collection makefile for: omniORB
|
|
|
|
# Date created: 14 May 1997
|
|
|
|
# Whom: ejc@bazzle.com
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-06-04 07:54:33 +02:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= omniORB
|
2009-11-26 16:43:26 +01:00
|
|
|
PORTVERSION= 4.1.4
|
1997-06-04 07:54:33 +02:00
|
|
|
CATEGORIES= devel
|
2009-11-26 16:43:26 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2004-07-07 21:20:02 +02:00
|
|
|
MAINTAINER= sem@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A robust high performance CORBA ORB for C++ and Python
|
2000-01-11 20:28:32 +01:00
|
|
|
|
2005-06-09 09:28:56 +02:00
|
|
|
PLIST_SUB+= SONUM=${PORTVERSION:C/.*\.//}
|
2000-06-16 10:48:22 +02:00
|
|
|
USE_GMAKE= yes
|
2002-11-01 13:01:34 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-07-11 10:45:49 +02:00
|
|
|
USE_PYTHON= yes
|
2004-07-15 05:09:07 +02:00
|
|
|
USE_OPENSSL= yes
|
2005-01-26 13:39:54 +01:00
|
|
|
USE_GNOME= pkgconfig
|
2006-12-21 12:11:43 +01:00
|
|
|
USE_LDCONFIG= yes
|
2000-01-11 20:28:32 +01:00
|
|
|
MAKEFILE= GNUmakefile
|
2009-11-26 16:43:26 +01:00
|
|
|
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CPP=${CPP} \
|
|
|
|
PYTHON=${PYTHON_CMD}
|
2004-07-15 05:09:07 +02:00
|
|
|
CONFIGURE_ARGS= --datadir=${DATADIR} --with-openssl=${OPENSSLBASE} \
|
2002-11-01 13:01:34 +01:00
|
|
|
--with-omniORB-config=${PREFIX}/etc/omniORB.cfg \
|
|
|
|
--with-omniNames-logdir=/var/log
|
|
|
|
.if defined(WITHOUT_STATIC)
|
|
|
|
CONFIGURE_ARGS+= --disable-static
|
|
|
|
PLIST_SUB+= STATIC="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= STATIC=""
|
|
|
|
.endif
|
2001-03-23 01:35:26 +01:00
|
|
|
|
2009-11-26 16:43:26 +01:00
|
|
|
MAN1= catior.1 convertior.1 genior.1 nameclt.1 omniidl.1
|
|
|
|
MAN8= omniMapper.8 omniNames.8
|
2000-09-15 17:40:52 +02:00
|
|
|
|
2003-09-29 04:50:44 +02:00
|
|
|
post-patch:
|
2005-11-07 21:10:38 +01:00
|
|
|
@${REINPLACE_CMD} -e 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
|
|
|
|
-e 's#-O2#${CFLAGS}#g' ${WRKSRC}/mk/beforeauto.mk.in
|
2003-09-29 04:50:44 +02:00
|
|
|
|
2002-11-01 13:01:34 +01:00
|
|
|
post-install:
|
2006-02-13 15:58:24 +01:00
|
|
|
@${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${PYTHON_SITELIBDIR}/omniidl')"
|
|
|
|
@${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${PYTHON_SITELIBDIR}/omniidl_be')"
|
2009-11-26 16:43:26 +01:00
|
|
|
@cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
|
|
|
|
@cd ${WRKSRC}/man/man8 && ${INSTALL_MAN} ${MAN8} ${MAN8PREFIX}/man/man8
|
1997-06-04 07:54:33 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-20 12:06:47 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST.txt README.unix \
|
2006-12-21 12:11:43 +01:00
|
|
|
ReleaseNotes.txt ${DOCSDIR}
|
2004-11-20 12:06:47 +01:00
|
|
|
@${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
|
2005-02-13 15:31:11 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample.cfg ${EXAMPLESDIR}/omniORB.cfg
|
1997-06-04 07:54:33 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-07 21:10:38 +01:00
|
|
|
.include <bsd.port.mk>
|