2008-02-28 16:47:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2008/02/28 21:47:52 merdely Exp $
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= free and complete CORBA-compliant implementation
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2001-11-10 11:56:32 -05:00
|
|
|
DISTNAME= mico-2.3.6
|
2008-02-28 16:47:52 -05:00
|
|
|
PKGNAME= $(DISTNAME)p2
|
2001-06-28 15:59:03 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2006-01-09 18:38:18 -05:00
|
|
|
# The build framework accommodates only a single shared lib extension.
|
|
|
|
SHARED_LIBS= mico2.3.6 ${LIB_VERSION} \
|
|
|
|
micoaux2.3.6 ${LIB_VERSION} \
|
|
|
|
micocoss2.3.6 ${LIB_VERSION} \
|
|
|
|
micoir2.3.6 ${LIB_VERSION} \
|
|
|
|
micox2.3.6 ${LIB_VERSION}
|
2006-01-13 18:40:22 -05:00
|
|
|
LIB_VERSION= 2.0
|
2006-01-09 18:38:18 -05:00
|
|
|
|
2001-06-28 15:59:03 -04:00
|
|
|
HOMEPAGE= http://www.mico.org/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= c m ncurses readline stdc++
|
2001-06-28 15:59:03 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2006-01-09 18:38:18 -05:00
|
|
|
CONFIGURE_ENV= LIB_VERSION=${LIB_VERSION}
|
2008-02-28 16:47:52 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-optimize
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2004-07-31 17:17:21 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/admin
|
2001-09-28 02:02:12 -04:00
|
|
|
|
2001-06-28 15:59:03 -04:00
|
|
|
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}"
|
|
|
|
WRKDIST= ${WRKDIR}/mico
|
2002-10-25 18:37:52 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2006-01-09 18:38:18 -05:00
|
|
|
FLAVORS= ssl # qt gtk tcl
|
2001-06-28 15:59:03 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mssl}
|
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
2006-01-09 18:38:18 -05:00
|
|
|
WANTLIB+= crypto ssl
|
2001-06-28 15:59:03 -04:00
|
|
|
.endif
|
|
|
|
|
2006-01-09 18:38:18 -05:00
|
|
|
# XXX no Qt parts built
|
|
|
|
#.if ${FLAVOR:L:Mqt}
|
|
|
|
#LIB_DEPENDS+= qt.2::x11/qt2
|
|
|
|
#CONFIGURE_ARGS+= --with-qt
|
|
|
|
#.endif
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2006-01-09 18:38:18 -05:00
|
|
|
# XXX no GTK parts built
|
|
|
|
#.if ${FLAVOR:L:Mgtk}
|
|
|
|
#LIB_DEPENDS+= gtk.1.2::x11/gtk+
|
|
|
|
#CONFIGURE_ARGS+= --with-gtk
|
|
|
|
#.endif
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2006-01-09 18:38:18 -05:00
|
|
|
# XXX wrong dependency
|
|
|
|
#.if ${FLAVOR:L:Mtcl}
|
|
|
|
#LIB_DEPENDS+= tcl.8::lang/tcl
|
|
|
|
#CONFIGURE_ARGS+= --with-tcl
|
|
|
|
#.endif
|
2001-06-28 15:59:03 -04:00
|
|
|
|
2004-09-26 08:11:00 -04:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/idl && ${GMAKE} generate
|
|
|
|
|
2001-06-28 15:59:03 -04:00
|
|
|
.include <bsd.port.mk>
|