aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-28 14:16:46 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-28 14:16:46 +0000
commita3ff8ade70acded8bac7a90a5b4688f6f375c4b3 (patch)
treeece482f4d637ab1b56024fd6e4bb7e3c5746ca91 /net-im
parent5edfc5441252879ee7f9ad1059bd24c5120c4a52 (diff)
downloadports-a3ff8ade70acded8bac7a90a5b4688f6f375c4b3.tar.gz
ports-a3ff8ade70acded8bac7a90a5b4688f6f375c4b3.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabberd/Makefile12
-rw-r--r--net-im/jabberd/distinfo4
-rw-r--r--net-im/jabberd/pkg-plist11
3 files changed, 12 insertions, 15 deletions
diff --git a/net-im/jabberd/Makefile b/net-im/jabberd/Makefile
index ad2cbd4612c8..505d697e997d 100644
--- a/net-im/jabberd/Makefile
+++ b/net-im/jabberd/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= jabberd
-PORTVERSION= 2.0.7
+PORTVERSION= 2.0.8
CATEGORIES= net
MASTER_SITES= http://files.jabberstudio.org/jabberd2/
-DISTNAME= ${PORTNAME}-2.0s7
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}s${PORTVERSION:E}
DIST_SUBDIR= jabber
MAINTAINER= kirk@strauser.com
@@ -85,13 +85,11 @@ pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
- ${ECHO} "Installing ${PREFIX}/etc/rc.d/jabberd.sh startup file."
- ${INSTALL_SCRIPT} -m 751 ${WRKDIR}/jabberd.sh ${PREFIX}/etc/rc.d/jabberd.sh
@${CHOWN} -R jabber:jabber ${PREFIX}/etc/jabberd
@${FIND} ${PREFIX}/etc/jabberd -type d | ${XARGS} ${CHMOD} 750
@${FIND} ${PREFIX}/etc/jabberd -type f | ${XARGS} ${CHMOD} 660
- @${MKDIR} ${PREFIX}/share/jabberd
- @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.mysql ${PREFIX}/share/jabberd
- @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.pgsql ${PREFIX}/share/jabberd
+ @${MKDIR} ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.mysql ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/tools/db-setup.pgsql ${DATADIR}
.include <bsd.port.mk>
diff --git a/net-im/jabberd/distinfo b/net-im/jabberd/distinfo
index b35682d75506..545ace704c9e 100644
--- a/net-im/jabberd/distinfo
+++ b/net-im/jabberd/distinfo
@@ -1,2 +1,2 @@
-MD5 (jabber/jabberd-2.0s7.tar.gz) = 1f10641964d257944eae2f8f295cfcba
-SIZE (jabber/jabberd-2.0s7.tar.gz) = 749170
+MD5 (jabber/jabberd-2.0s8.tar.gz) = 96753c5e74676ace0841a4cee9f13fdb
+SIZE (jabber/jabberd-2.0s8.tar.gz) = 757149
diff --git a/net-im/jabberd/pkg-plist b/net-im/jabberd/pkg-plist
index 36f4c75932f0..09318e987800 100644
--- a/net-im/jabberd/pkg-plist
+++ b/net-im/jabberd/pkg-plist
@@ -20,9 +20,8 @@ etc/jabberd/s2s.xml.dist
etc/jabberd/sm.xml.dist
@unexec if cmp -s %D/etc/jabberd/templates/roster.xml %D/etc/jabberd/templates/roster.xml.dist; then rm -f %D/etc/jabberd/templates/roster.xml; fi
etc/jabberd/templates/roster.xml.dist
-etc/rc.d/jabberd.sh
-share/jabberd/db-setup.mysql
-share/jabberd/db-setup.pgsql
-@dirrm share/jabberd
-@dirrm etc/jabberd/templates
-@dirrm etc/jabberd
+%%DATADIR%%/db-setup.mysql
+%%DATADIR%%/db-setup.pgsql
+@dirrm %%DATADIR%%
+@unexec rmdir %D/etc/jabberd/templates 2> /dev/null || true
+@unexec rmdir %D/etc/jabberd 2> /dev/null || true