summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/ORBit/Makefile8
-rw-r--r--devel/ORBit2/Makefile8
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/ORBit/Makefile b/devel/ORBit/Makefile
index 780f6a0df741..3e3de5415c8c 100644
--- a/devel/ORBit/Makefile
+++ b/devel/ORBit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ORBit
PORTVERSION= 0.5.3
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
@@ -28,4 +29,11 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CONFIGURE_ARGS= --disable-indent
+post-install:
+.if !exists(${PREFIX}/etc/orbitrc)
+ @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc
+ @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc
+ @${ECHO} etc/orbitrc >> ${TMPPLIST}
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
index 780f6a0df741..3e3de5415c8c 100644
--- a/devel/ORBit2/Makefile
+++ b/devel/ORBit2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ORBit
PORTVERSION= 0.5.3
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
@@ -28,4 +29,11 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CONFIGURE_ARGS= --disable-indent
+post-install:
+.if !exists(${PREFIX}/etc/orbitrc)
+ @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc
+ @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc
+ @${ECHO} etc/orbitrc >> ${TMPPLIST}
+.endif
+
.include <bsd.port.mk>