summaryrefslogtreecommitdiff
path: root/devel/ORBit2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ORBit2/Makefile')
-rw-r--r--devel/ORBit2/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
index 00d1df496fcf..efa6740fa614 100644
--- a/devel/ORBit2/Makefile
+++ b/devel/ORBit2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ORBit
-PORTVERSION= 0.5.8
-PORTREVISION= 1
+PORTVERSION= 0.5.10
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
@@ -20,9 +19,8 @@ RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_GMAKE= yes
USE_GLIB= yes
-USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-LIBTOOLFILES= configure libIDL/configure popt/configure
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-indent
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -33,5 +31,15 @@ post-install:
@if [ ! -f ${PREFIX}/etc/orbitrc ]; then \
${CP} -p ${PREFIX}/etc/orbitrc.default ${PREFIX}/etc/orbitrc ; \
fi
+.for dir in IIOP ORBitservices ORBitutil orb orbit-idl2.h
+ @if [ -L ${PREFIX}/include/${dir} ]; then \
+ ${RM} -f ${PREFIX}/include/${dir}; \
+ fi
+ @${LN} -sf ${PREFIX}/include/orbit-1.0/${dir} ${PREFIX}/include/${dir}
+.endfor
+ @if [ -L ${PREFIX}/include/libIDL ]; then \
+ ${RM} -f ${PREFIX}/include/libIDL; \
+ fi
+ @${LN} -sf ${PREFIX}/include/libIDL-1.0/libIDL ${PREFIX}/include/libIDL
.include <bsd.port.mk>