1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Update port to 2.1.4.

- Add LICENSE information.
- Add support for NOPORTDOCS.
- Adopt port.

PR:		ports/147911
Submitted by:	Denis Shaposhnikov <dsh@wizard.volgograd.ru>
Approved by:	pgj (mentor)
This commit is contained in:
Ashish SHUKLA 2010-07-13 23:35:07 +00:00
parent e43e99ec48
commit 2bc822d8e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257732
3 changed files with 43 additions and 32 deletions

View File

@ -6,11 +6,11 @@
#
PORTNAME= ejabberd
PORTVERSION= 2.1.3
PORTVERSION= 2.1.4
CATEGORIES= net-im
MASTER_SITES= http://www.process-one.net/downloads/ejabberd/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ashish@FreeBSD.org
COMMENT= Free and Open Source distributed fault-tolerant Jabber server
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
@ -35,6 +35,9 @@ SUB_FILES= pkg-message pkg-install
SUB_LIST= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/COPYING
.include <bsd.port.pre.mk>
.if defined(WITH_ODBC)
@ -44,6 +47,12 @@ PLIST_SUB+= ODBC=""
PLIST_SUB+= ODBC="@comment "
.endif
post-patch:
.ifdef NOPORTDOCS
@${REINPLACE_CMD} -e '/DOCDIR)$$/s/^/#/g' ${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/configure
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
${FIND} ${PREFIX}/lib/erlang/lib/${DISTNAME} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}

View File

@ -1,3 +1,3 @@
MD5 (ejabberd-2.1.3.tar.gz) = e5c87eda5312a6e8a53df0f9b4844b69
SHA256 (ejabberd-2.1.3.tar.gz) = 602c6e4e742c4cab8594e9f049f08d0bf2125fa84af491e0ceb6d6f2f3854ef6
SIZE (ejabberd-2.1.3.tar.gz) = 2243874
MD5 (ejabberd-2.1.4.tar.gz) = a73f2ae7c5c9ceccc295e6cbc6a70132
SHA256 (ejabberd-2.1.4.tar.gz) = 205ee09e38c57527cfa1a4be6ca664cec2e8c6b40eeffaac008735fcdc5e7527
SIZE (ejabberd-2.1.4.tar.gz) = 2267300

View File

@ -61,12 +61,12 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_zlib.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/dynamic_compile.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_captcha.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_commands.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_debug.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_piefxis.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_stun.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejd2odbc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/eldap.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/eldap_filter.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/eldap_filter_yecc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/eldap_pool.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/eldap_utils.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/extauth.beam
@ -120,6 +120,7 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_time.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_vcard.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_vcard_ldap.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_vcard_odbc.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_vcard_xupdate.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/mod_version.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/node_buddy.beam
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/node_club.beam
@ -204,32 +205,33 @@ lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/vi.msg
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/wa.msg
lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs/zh.msg
sbin/%%PORTNAME%%ctl
%%DOCSDIR%%/discorus.png
%%DOCSDIR%%/guide.html
%%DOCSDIR%%/logo.png
%%DOCSDIR%%/release_notes_0.9.1.txt
%%DOCSDIR%%/release_notes_0.9.8.txt
%%DOCSDIR%%/release_notes_0.9.txt
%%DOCSDIR%%/release_notes_1.0.0.txt
%%DOCSDIR%%/release_notes_1.1.0.txt
%%DOCSDIR%%/release_notes_1.1.1.txt
%%DOCSDIR%%/release_notes_1.1.2.txt
%%DOCSDIR%%/release_notes_1.1.3.txt
%%DOCSDIR%%/release_notes_1.1.4.txt
%%DOCSDIR%%/release_notes_2.0.0.txt
%%DOCSDIR%%/release_notes_2.0.1.txt
%%DOCSDIR%%/release_notes_2.0.2.txt
%%DOCSDIR%%/release_notes_2.0.3.txt
%%DOCSDIR%%/release_notes_2.0.4.txt
%%DOCSDIR%%/release_notes_2.0.5.txt
%%DOCSDIR%%/release_notes_2.1.0.txt
%%DOCSDIR%%/release_notes_2.1.1.txt
%%DOCSDIR%%/release_notes_2.1.2.txt
%%DOCSDIR%%/release_notes_2.1.3.txt
%%DOCSDIR%%/webadmmain.png
%%DOCSDIR%%/webadmmainru.png
%%DOCSDIR%%/yozhikheader.png
@dirrm %%DOCSDIR%%
%%PORTDOCS%%%%DOCSDIR%%/discorus.png
%%PORTDOCS%%%%DOCSDIR%%/guide.html
%%PORTDOCS%%%%DOCSDIR%%/logo.png
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.1.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.8.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_0.9.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.0.0.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.1.0.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.1.1.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.1.2.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.1.3.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_1.1.4.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.0.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.1.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.2.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.3.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.4.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.0.5.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.1.0.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.1.1.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.1.2.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.1.3.txt
%%PORTDOCS%%%%DOCSDIR%%/release_notes_2.1.4.txt
%%PORTDOCS%%%%DOCSDIR%%/webadmmain.png
%%PORTDOCS%%%%DOCSDIR%%/webadmmainru.png
%%PORTDOCS%%%%DOCSDIR%%/yozhikheader.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry etc/%%PORTNAME%%
@dirrm lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/msgs
@dirrm lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/lib