1998-11-11 19:59:44 +00:00
|
|
|
# New ports collection makefile for: mico
|
1998-08-23 04:32:04 +00:00
|
|
|
# Date created: 11 July 1998
|
|
|
|
# Whom: Marc G. Fournier <scrappy@freebsd.org>
|
1998-07-04 20:41:51 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-04 20:41:51 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= mico
|
|
|
|
PORTVERSION= 2.3.1
|
1998-07-04 20:41:51 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://diamant-atm.vsb.cs.uni-frankfurt.de/~mico/
|
|
|
|
|
1998-08-23 04:32:04 +00:00
|
|
|
MAINTAINER= scrappy@freebsd.org
|
1998-07-04 20:41:51 +00:00
|
|
|
|
1999-05-29 03:56:15 +00:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
2000-01-30 02:10:34 +00:00
|
|
|
tcl82.1:${PORTSDIR}/lang/tcl82
|
1998-07-04 20:41:51 +00:00
|
|
|
|
2000-01-31 14:39:49 +00:00
|
|
|
MICOVER= `${ECHO} ${DISTNAME} | ${SED} 's/mico-//'`
|
|
|
|
|
1999-05-29 03:56:15 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
1999-08-22 19:46:45 +00:00
|
|
|
USE_NEWGCC= yes
|
1999-12-03 21:02:57 +00:00
|
|
|
|
|
|
|
.if defined(QT2)
|
|
|
|
USE_QT2= yes
|
2000-01-30 02:10:34 +00:00
|
|
|
MAKE_ENV= QT_INCLUDES="${X11BASE}/include/qt2" \
|
|
|
|
QTVER="2"
|
|
|
|
CONFIGURE_ENV= QTVER="2"
|
1999-12-03 21:02:57 +00:00
|
|
|
.else
|
1998-08-23 04:36:05 +00:00
|
|
|
USE_QT= yes
|
2000-01-30 02:10:34 +00:00
|
|
|
MAKE_ENV= QT_INCLUDES="${X11BASE}/include/X11/qt" \
|
|
|
|
QTVER=""
|
|
|
|
CONFIGURE_ENV= QTVER=""
|
1999-12-03 21:02:57 +00:00
|
|
|
.endif
|
|
|
|
|
1998-12-13 08:46:12 +00:00
|
|
|
USE_AUTOCONF= yes
|
1998-07-04 20:41:51 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
1998-08-23 04:32:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mico
|
|
|
|
|
1999-12-03 21:02:57 +00:00
|
|
|
CONFIGURE_ARGS= --with-qt --with-gtk --with-tcl --disable-mini-stl \
|
|
|
|
--enable-static --enable-shared
|
2000-01-30 02:10:34 +00:00
|
|
|
CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}"
|
|
|
|
|
|
|
|
PLIST_SUB= MICOVER="${MICOVER}"
|
1998-08-23 04:32:04 +00:00
|
|
|
|
1998-10-31 04:03:14 +00:00
|
|
|
MAN1= idl.1 imr.1 nsadmin.1
|
1998-07-04 20:41:51 +00:00
|
|
|
MAN5= micorc.5
|
|
|
|
MAN8= ird.8 micod.8 nsd.8
|
|
|
|
|
|
|
|
post-install:
|
2000-01-30 02:10:34 +00:00
|
|
|
${LN} -sf ${PREFIX}/lib/libmico${MICOVER}.so.1 ${PREFIX}/lib/libmico.${MICOVER}.so
|
|
|
|
${LN} -sf ${PREFIX}/lib/libmicoaux${MICOVER}.so.1 ${PREFIX}/lib/libmicoaux.${MICOVER}.so
|
|
|
|
${LN} -sf ${PREFIX}/lib/libmicogtk${MICOVER}.so.1 ${PREFIX}/lib/libmicogtk.${MICOVER}.so
|
|
|
|
${LN} -sf ${PREFIX}/lib/libmicoqt${MICOVER}.so.1 ${PREFIX}/lib/libmicoqt.${MICOVER}.so
|
|
|
|
${LN} -sf ${PREFIX}/lib/libmicotcl${MICOVER}.so.1 ${PREFIX}/lib/libmicotcl.${MICOVER}.so
|
|
|
|
${LN} -sf ${PREFIX}/lib/libmicox${MICOVER}.so.1 ${PREFIX}/lib/libmicox.${MICOVER}.so
|
1999-05-29 03:56:15 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-12-03 21:02:57 +00:00
|
|
|
@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
|
1998-07-04 20:41:51 +00:00
|
|
|
|
1999-08-22 19:46:45 +00:00
|
|
|
.include <bsd.port.mk>
|