freebsd-ports/devel/omniNotify/Makefile
Thierry Thomas 5b417f234d - Recopy devel/omniORB to devel/omniORB-4.1
- Downgrade it to 4.1.7

- Unbreak devel/omniNotify

- Add CONFLICTS

CR:		D970
Approved by:	pfg
2014-10-20 19:59:28 +00:00

51 lines
1.4 KiB
Makefile

# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
PORTNAME= omniNotify
PORTVERSION= 2.1.01
#It' snapshot of development version actually
CATEGORIES= devel python
MASTER_SITES= http://www.stasyan.com/devel/distfiles/
DISTNAME= omniNotify-2-latest
MAINTAINER= ports@FreeBSD.org
COMMENT= CORBA Notification Service (CosNotification) for omniORB
LICENSE= GPLv2
LIB_DEPENDS= libomniORB4.so:${PORTSDIR}/devel/omniORB-4.1
# parts of omniORB4-4.1 source tree is required to build
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/omniORB-4.1:patch
WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_WRKSRC= ${WRKSRC}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
OMNIORB_WRKSRC= `cd ${PORTSDIR}/devel/omniORB-4.1 && ${MAKE} -V WRKSRC`
USES= gmake python
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-omniorb=${LOCALBASE}
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
pre-configure:
${REINPLACE_CMD} -Ee 's|-O2|${CFLAGS}|' \
${WRKSRC}/mk/beforeauto.mk.in
${MKDIR} ${CONFIGURE_WRKSRC}
cd ${OMNIORB_WRKSRC} && ${FIND} idl | ${CPIO} --quiet -pdum ${WRKSRC}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notifd
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! ( -name \.cvsignore -o -name *\.orig )"
.endif
.include <bsd.port.mk>