aboutsummaryrefslogtreecommitdiff
path: root/net/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/jabber
parent702ad288ee4e092571fd0e9b6aea5a2bc1e4722b (diff)
downloadports-9a53054b393d05e705245b8480a4fcd6c3597279.tar.gz
ports-9a53054b393d05e705245b8480a4fcd6c3597279.zip
Notes
Diffstat (limited to 'net/jabber')
-rw-r--r--net/jabber/Makefile16
-rw-r--r--net/jabber/pkg-plist1
2 files changed, 11 insertions, 6 deletions
diff --git a/net/jabber/Makefile b/net/jabber/Makefile
index 6d23c4d0edd5..7bdafdea3791 100644
--- a/net/jabber/Makefile
+++ b/net/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/jabber/pkg-plist b/net/jabber/pkg-plist
index dc3cfc7855da..008e57af317e 100644
--- a/net/jabber/pkg-plist
+++ b/net/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