1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/omniORB/Makefile
Sergey Matveychuk 9b75e6d4a2 - Install a sample configuration file
PR:		ports/77446
Submitted by:	hq
2005-02-13 14:31:11 +00:00

66 lines
1.7 KiB
Makefile

# New ports collection makefile for: omniORB
# Date created: 14 May 1997
# Whom: ejc@bazzle.com
#
# $FreeBSD$
#
PORTNAME= omniORB
PORTVERSION= 4.0.5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
MAINTAINER= sem@FreeBSD.org
COMMENT= A robust high performance CORBA ORB for C++ and Python
CONFIGURE_WRKSRC= ${WRKSRC}/build
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_PYTHON= yes
USE_OPENSSL= yes
USE_GNOME= pkgconfig
INSTALLS_SHLIB= yes
NO_FILTER_SHLIBS= yes
MAKEFILE= GNUmakefile
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
CPP=${CPP} PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --datadir=${DATADIR} --with-openssl=${OPENSSLBASE} \
--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
MAN1= catior.1 genior.1 nameclt.1 omniNames.1 omniidl.1
post-patch:
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#' \
${WRKSRC}/mk/beforeauto.mk.in
pre-configure:
@${MKDIR} ${CONFIGURE_WRKSRC}
post-install:
.for manpage in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MANPREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST.txt README.unix \
ReleaseNotes_${PORTVERSION}.txt ${DOCSDIR}
@${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${DOCSDIR} -
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/sample.cfg ${EXAMPLESDIR}/omniORB.cfg
.endif
.include <bsd.port.mk>