summaryrefslogtreecommitdiffstats
path: root/devel/mico/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-03 21:02:57 +0000
committersteve <steve@FreeBSD.org>1999-12-03 21:02:57 +0000
commitcd66d54a0794e563da74a694a8a38c4b4ef4ae33 (patch)
treedc1f04d299ce0abb63d78f2a12232e30ab195009 /devel/mico/Makefile
parent663fdcbfc8568acd87baa1e5b17233afd88ecc3b (diff)
downloadFreeBSD-ports-cd66d54a0794e563da74a694a8a38c4b4ef4ae33.zip
FreeBSD-ports-cd66d54a0794e563da74a694a8a38c4b4ef4ae33.tar.gz
Upgrade to version 2.3.0.
PR: 14001 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'devel/mico/Makefile')
-rw-r--r--devel/mico/Makefile38
1 files changed, 36 insertions, 2 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index bac40ec..17e3f0d 100644
--- a/devel/mico/Makefile
+++ b/devel/mico/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-DISTNAME= mico-2.2.7
+DISTNAME= mico-2.3.0
CATEGORIES= devel
MASTER_SITES= http://diamant-atm.vsb.cs.uni-frankfurt.de/~mico/
@@ -18,13 +18,22 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_NEWGCC= yes
+
+.if defined(QT2)
+USE_QT2= yes
+MAKE_ENV= QT_INCLUDE="${X11BASE}/include/qt2"
+.else
USE_QT= yes
+MAKE_ENV= QT_INCLUDE="${X11BASE}/include/qt"
+.endif
+
USE_AUTOCONF= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/mico
-CONFIGURE_ARGS= --with-qt --with-gtk --with-tcl --disable-mini-stl
+CONFIGURE_ARGS= --with-qt --with-gtk --with-tcl --disable-mini-stl \
+ --enable-static --enable-shared
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
MAN1= idl.1 imr.1 nsadmin.1
@@ -32,6 +41,31 @@ MAN5= micorc.5
MAN8= ird.8 micod.8 nsd.8
post-install:
+ ${LN} -s ${PREFIX}/lib/libmico2.3.0.so.1 ${PREFIX}/lib/libmico.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicoaux2.3.0.so.1 ${PREFIX}/lib/libmicoaux.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicocoss2.3.0.so.1 ${PREFIX}/lib/libmicocoss.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicogtk2.3.0.so.1 ${PREFIX}/lib/libmicogtk.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicoqt2.3.0.so.1 ${PREFIX}/lib/libmicoqt.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicotcl2.3.0.so.1 ${PREFIX}/lib/libmicotcl.2.3.0.so
+ ${LN} -s ${PREFIX}/lib/libmicox2.3.0.so.1 ${PREFIX}/lib/libmicox.2.3.0.so
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+ @strip ${PREFIX}/bin/containmentd
+ @strip ${PREFIX}/bin/eventd
+ @strip ${PREFIX}/bin/idl
+ @strip ${PREFIX}/bin/imr
+ @strip ${PREFIX}/bin/iordump
+ @strip ${PREFIX}/bin/ird
+ @strip ${PREFIX}/bin/mico-cpp
+ @strip ${PREFIX}/bin/micod
+ @strip ${PREFIX}/bin/noded
+ @strip ${PREFIX}/bin/nsadmin
+ @strip ${PREFIX}/bin/nsd
+ @strip ${PREFIX}/bin/propertyd
+ @strip ${PREFIX}/bin/proxyd
+ @strip ${PREFIX}/bin/randomd
+ @strip ${PREFIX}/bin/referenced
+ @strip ${PREFIX}/bin/timed
+ @strip ${PREFIX}/bin/traderd
+ @strip ${PREFIX}/bin/traversald
.include <bsd.port.mk>
OpenPOWER on IntegriCloud