diff options
Diffstat (limited to 'devel/mico/Makefile')
-rw-r--r-- | devel/mico/Makefile | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile index 17e3f0db6041..dade4e0a3bad 100644 --- a/devel/mico/Makefile +++ b/devel/mico/Makefile @@ -1,19 +1,20 @@ # New ports collection makefile for: mico -# Version required: 2.2.7 +# Version required: 2.3.1 # Date created: 11 July 1998 # Whom: Marc G. Fournier <scrappy@freebsd.org> # # $FreeBSD$ # -DISTNAME= mico-2.3.0 +MICOVER= 2.3.1 +DISTNAME= mico-${MICOVER} CATEGORIES= devel MASTER_SITES= http://diamant-atm.vsb.cs.uni-frankfurt.de/~mico/ MAINTAINER= scrappy@freebsd.org LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - tcl80.1:${PORTSDIR}/lang/tcl80 + tcl82.1:${PORTSDIR}/lang/tcl82 GTK_CONFIG?= ${X11BASE}/bin/gtk12-config @@ -21,10 +22,14 @@ USE_NEWGCC= yes .if defined(QT2) USE_QT2= yes -MAKE_ENV= QT_INCLUDE="${X11BASE}/include/qt2" +MAKE_ENV= QT_INCLUDES="${X11BASE}/include/qt2" \ + QTVER="2" +CONFIGURE_ENV= QTVER="2" .else USE_QT= yes -MAKE_ENV= QT_INCLUDE="${X11BASE}/include/qt" +MAKE_ENV= QT_INCLUDES="${X11BASE}/include/X11/qt" \ + QTVER="" +CONFIGURE_ENV= QTVER="" .endif USE_AUTOCONF= yes @@ -34,20 +39,21 @@ WRKSRC= ${WRKDIR}/mico CONFIGURE_ARGS= --with-qt --with-gtk --with-tcl --disable-mini-stl \ --enable-static --enable-shared -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" + +PLIST_SUB= MICOVER="${MICOVER}" MAN1= idl.1 imr.1 nsadmin.1 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 + ${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 ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib @strip ${PREFIX}/bin/containmentd @strip ${PREFIX}/bin/eventd |