summaryrefslogtreecommitdiff
path: root/net-im/jabber
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-09-11 14:51:14 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-09-11 14:51:14 +0000
commit9a53054b393d05e705245b8480a4fcd6c3597279 (patch)
treef552ced7929473e0a29b34f20cf9fd799bbf0c7d /net-im/jabber
parentmark as FORBIDDEN: devel/pth is newer. (diff)
sync with devel/pth:
o use pth-config to detect pth headers/libraries. o deinstall etc/jabber.xml if not modified. Approved by: maintainer
Notes
Notes: svn path=/head/; revision=47676
Diffstat (limited to 'net-im/jabber')
-rw-r--r--net-im/jabber/Makefile16
-rw-r--r--net-im/jabber/pkg-plist1
2 files changed, 11 insertions, 6 deletions
diff --git a/net-im/jabber/Makefile b/net-im/jabber/Makefile
index 6d23c4d0edd5..7bdafdea3791 100644
--- a/net-im/jabber/Makefile
+++ b/net-im/jabber/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jabber
PORTVERSION= 1.4.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.jabber.org/dists/1.4/final/
DISTFILES+= jabber-1.4.1.tar.gz \
@@ -39,11 +39,15 @@ post-extract:
@mv ${WRKDIR}/yahoo-transport-0.8-1.4 ${WRKDIR}/${JABDIR}/yahoo-transport
post-configure:
- @cd ${WRKDIR}/${JABDIR}/aim-transport && ./configure
- @cd ${WRKDIR}/${JABDIR}/irc-transport && ./configure \
- --includedir=${WRKDIR}/${JABDIR}/jabberd
- @cd ${WRKDIR}/${JABDIR}/yahoo-transport && ./configure \
- --includedir=${WRKDIR}/${JABDIR}/jabberd
+ ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
+ CPPFLAGS=`pth-config --cflags` \
+ LDFLAGS=`pth-config --ldflags` \
+ LIBS=`pth-config --libs` ${SHELL} -c \
+ "cd ${WRKDIR}/${JABDIR}/aim-transport; ./configure; \
+ cd ${WRKDIR}/${JABDIR}/irc-transport; \
+ ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd; \
+ cd ${WRKDIR}/${JABDIR}/yahoo-transport; \
+ ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd"
post-install:
@PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/net-im/jabber/pkg-plist b/net-im/jabber/pkg-plist
index dc3cfc7855da..008e57af317e 100644
--- a/net-im/jabber/pkg-plist
+++ b/net-im/jabber/pkg-plist
@@ -1,4 +1,5 @@
bin/jabberd
+@unexec if cmp -s %D/etc/jabber.xml.sample %D/etc/jabber.xml; then rm -f %D/etc/jabber.xml; fi
etc/jabber.xml.sample
etc/rc.d/jabberd.sh
lib/jabber/aim-transport/aimtrans.so