1997-06-04 01:54:33 -04:00
|
|
|
# New ports collection makefile for: omniORB
|
|
|
|
# Date created: 14 May 1997
|
|
|
|
# Whom: ejc@bazzle.com
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1997-06-04 01:54:33 -04:00
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= omniORB
|
2001-08-29 05:01:49 -04:00
|
|
|
PORTVERSION= 3.0.4
|
1997-06-04 01:54:33 -04:00
|
|
|
CATEGORIES= devel
|
2001-03-22 19:35:26 -05:00
|
|
|
MASTER_SITES= ftp://ftp.uk.research.att.com/pub/omniORB/omniORB3/
|
2000-04-11 17:30:15 -04:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//g}
|
1997-06-04 01:54:33 -04:00
|
|
|
|
|
|
|
MAINTAINER= ejc@bazzle.com
|
|
|
|
|
2000-02-17 01:26:40 -05:00
|
|
|
MAN1= catior.1 genior.1 nameclt.1 obuildtree.1 ols.1 omake.1 \
|
2000-09-15 11:40:52 -04:00
|
|
|
omniNames.1 opriv.1 oshadow.1
|
1997-06-04 01:54:33 -04:00
|
|
|
|
2001-03-22 19:35:26 -05:00
|
|
|
WRKSRC= ${WRKDIR}/omni
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
2000-01-11 14:28:32 -05:00
|
|
|
|
2000-09-15 11:40:52 -04:00
|
|
|
USE_PYTHON= yes
|
2000-06-16 04:48:22 -04:00
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_GMAKE= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-03-22 19:35:26 -05:00
|
|
|
NO_FILTER_SHLIBS= yes
|
2000-01-11 14:28:32 -05:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
ALL_TARGET= export
|
2000-09-15 11:40:52 -04:00
|
|
|
MAKE_ENV+= CDEBUGFLAGS="${CFLAGS}" CXXDEBUGFLAGS="${CXXFLAGS}" \
|
|
|
|
BSD_INSTALL="${INSTALL}" PYTHON_CMD="${PYTHON_CMD}" \
|
|
|
|
MKDIR="${MKDIR}"
|
2000-04-01 00:42:59 -05:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2000-09-15 11:40:52 -04:00
|
|
|
|
|
|
|
# Setting ${CONFIG_TARGET} to this value and patching it into
|
2001-03-22 19:35:26 -05:00
|
|
|
# ${WRKSRC}/config/config.mk via the post-patch target ensures that the
|
2000-09-15 11:40:52 -04:00
|
|
|
# internal make variable __OSVERSION__ is set to 4. This activates gcc
|
|
|
|
# 2.9.5-specific code, and obviates the need for most of the patches
|
|
|
|
# previously required since there are now version checks in the source.
|
|
|
|
CONFIG_TARGET= x86_freebsd_4.0
|
2000-04-01 00:42:59 -05:00
|
|
|
|
2001-03-22 19:35:26 -05:00
|
|
|
CPIO= cpio --quiet -pdum -R
|
|
|
|
|
2000-04-01 00:42:59 -05:00
|
|
|
post-patch:
|
|
|
|
@${SETENV} LANG=C ${PERL} -pi -e 's/__PLATFORM__/${CONFIG_TARGET}/;' \
|
2001-03-22 19:35:26 -05:00
|
|
|
${WRKSRC}/config/config.mk
|
2000-09-15 11:40:52 -04:00
|
|
|
|
|
|
|
binfiles= catior convertior genior nameclt omkdepend omniMapper \
|
|
|
|
omniNames
|
|
|
|
scriptfiles= omniidl omniidlrun.py
|
2000-01-11 14:28:32 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-09-15 11:40:52 -04:00
|
|
|
.for binfile in ${binfiles}
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${CONFIG_TARGET}/${binfile} \
|
2000-09-15 11:40:52 -04:00
|
|
|
${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for scriptfile in ${scriptfiles}
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${CONFIG_TARGET}/${scriptfile} \
|
2000-09-15 11:40:52 -04:00
|
|
|
${PREFIX}/bin
|
|
|
|
.endfor
|
2001-03-22 19:35:26 -05:00
|
|
|
cd ${WRKSRC}/lib/${CONFIG_TARGET} && \
|
|
|
|
find . | ${CPIO} ${BINOWN}:${BINGRP} ${PREFIX}/lib
|
2000-04-01 00:42:59 -05:00
|
|
|
.for m in ${MAN1}
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/${m} ${PREFIX}/man/man1
|
2000-04-01 00:42:59 -05:00
|
|
|
.endfor
|
2000-09-15 11:40:52 -04:00
|
|
|
${MKDIR} ${PREFIX}/include/omniORB3
|
2000-02-17 01:26:40 -05:00
|
|
|
${MKDIR} ${PREFIX}/include/omnithread
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/omnithread.h ${PREFIX}/include
|
|
|
|
cd ${WRKSRC}/include && ( \
|
2000-04-01 00:42:59 -05:00
|
|
|
${INSTALL_DATA} omnithread/* ${PREFIX}/include/omnithread; \
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_DATA} omniORB3/* ${PREFIX}/include/omniORB3 )
|
|
|
|
cd ${WRKSRC}/lib/python && \
|
|
|
|
find . | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${PYTHON_SITELIBDIR}
|
2000-04-01 00:42:59 -05:00
|
|
|
@ cd ${.CURDIR}
|
1997-06-04 01:54:33 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-29 05:01:49 -04:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.unix ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR}
|
2001-03-22 19:35:26 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ReleaseNote_omniORB_${PORTVERSION:S/.//g} \
|
2001-08-29 05:01:49 -04:00
|
|
|
${DOCSDIR}
|
2001-03-22 19:35:26 -05:00
|
|
|
cd ${WRKSRC}/doc && \
|
2001-08-29 05:01:49 -04:00
|
|
|
find . | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
1997-06-04 01:54:33 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|