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
|
2004-11-20 12:06:47 +01:00
|
|
|
PORTVERSION= 4.0.5
|
1997-06-04 07:54:33 +02:00
|
|
|
CATEGORIES= devel
|
2002-08-08 20:02:22 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-11-01 13:01:34 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
1997-06-04 07:54:33 +02:00
|
|
|
|
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
|
|
|
|
2002-11-01 13:01:34 +01:00
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/build
|
2004-11-20 12:06:47 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-11-01 13:01:34 +01:00
|
|
|
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
|
|
|
|
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
|
2000-06-16 10:48:22 +02:00
|
|
|
USE_GMAKE= yes
|
2002-11-01 13:01:34 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-09-29 04:50:44 +02:00
|
|
|
USE_REINPLACE= 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
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-03-23 01:35:26 +01:00
|
|
|
NO_FILTER_SHLIBS= yes
|
2000-01-11 20:28:32 +01:00
|
|
|
MAKEFILE= GNUmakefile
|
2002-11-01 13:01:34 +01:00
|
|
|
CONFIGURE_SCRIPT= ../configure
|
|
|
|
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
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
|
|
|
|
2003-08-21 23:15:31 +02:00
|
|
|
MAN1= catior.1 genior.1 nameclt.1 omniNames.1 omniidl.1
|
2000-09-15 17:40:52 +02:00
|
|
|
|
2003-09-29 04:50:44 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
|
|
|
|
${WRKSRC}/mk/beforeauto.mk.in
|
|
|
|
|
2002-11-01 13:01:34 +01:00
|
|
|
pre-configure:
|
2004-11-20 12:06:47 +01:00
|
|
|
@${MKDIR} ${CONFIGURE_WRKSRC}
|
2000-01-11 20:28:32 +01:00
|
|
|
|
2002-11-01 13:01:34 +01:00
|
|
|
post-install:
|
|
|
|
.for manpage in ${MAN1}
|
2004-11-20 12:06:47 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MANPREFIX}/man/man1
|
2000-04-01 07:42:59 +02:00
|
|
|
.endfor
|
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 \
|
|
|
|
ReleaseNotes_${PORTVERSION}.txt ${DOCSDIR}
|
|
|
|
@${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
|
1997-06-04 07:54:33 +02:00
|
|
|
.endif
|
|
|
|
|
2004-11-20 12:06:47 +01:00
|
|
|
.include <bsd.port.mk>
|