mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
sync with devel/pth:
o use pth-config to detect pth headers/libraries. o deinstall etc/jabber.xml if not modified. Approved by: maintainer
This commit is contained in:
parent
702ad288ee
commit
9a53054b39
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47676
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user