diff options
author | ashish <ashish@FreeBSD.org> | 2010-07-14 07:35:07 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2010-07-14 07:35:07 +0800 |
commit | 06d22cd57f911c8374c51d1cd65e645392f5b128 (patch) | |
tree | 6a914a18276ae4fec01180662443c7ac21e1cbe3 /net-im/ejabberd | |
parent | cfca9dbc8f656b2229ae867e59f513f9bcee0483 (diff) | |
download | freebsd-ports-gnome-06d22cd57f911c8374c51d1cd65e645392f5b128.tar.gz freebsd-ports-gnome-06d22cd57f911c8374c51d1cd65e645392f5b128.tar.zst freebsd-ports-gnome-06d22cd57f911c8374c51d1cd65e645392f5b128.zip |
- 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)
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r-- | net-im/ejabberd/Makefile | 13 | ||||
-rw-r--r-- | net-im/ejabberd/distinfo | 6 | ||||
-rw-r--r-- | net-im/ejabberd/pkg-plist | 56 |
3 files changed, 43 insertions, 32 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile index 58136f025549..b54629b7ba1c 100644 --- a/net-im/ejabberd/Makefile +++ b/net-im/ejabberd/Makefile @@ -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} diff --git a/net-im/ejabberd/distinfo b/net-im/ejabberd/distinfo index 5086109eba66..bcc94ec64537 100644 --- a/net-im/ejabberd/distinfo +++ b/net-im/ejabberd/distinfo @@ -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 diff --git a/net-im/ejabberd/pkg-plist b/net-im/ejabberd/pkg-plist index d922124736bb..e61d00a3f123 100644 --- a/net-im/ejabberd/pkg-plist +++ b/net-im/ejabberd/pkg-plist @@ -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 |