From owner-svn-ports-all@FreeBSD.ORG Sat May 18 13:02:13 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9AA775A5; Sat, 18 May 2013 13:02:13 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3FA74; Sat, 18 May 2013 13:02:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4ID2DL6056796; Sat, 18 May 2013 13:02:13 GMT (envelope-from olgeni@svn.freebsd.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4ID2CHr056785; Sat, 18 May 2013 13:02:12 GMT (envelope-from olgeni@svn.freebsd.org) Message-Id: <201305181302.r4ID2CHr056785@svn.freebsd.org> From: Jimmy Olgeni Date: Sat, 18 May 2013 13:02:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318429 - in head/devel: . common_lib common_lib/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 13:02:13 -0000 Author: olgeni Date: Sat May 18 13:02:11 2013 New Revision: 318429 URL: http://svnweb.freebsd.org/changeset/ports/318429 Log: Add common_lib, a library of Erlang functions used by oserl and other projects. Added: head/devel/common_lib/ head/devel/common_lib/Makefile (contents, props changed) head/devel/common_lib/distinfo (contents, props changed) head/devel/common_lib/files/ head/devel/common_lib/files/patch-Makefile (contents, props changed) head/devel/common_lib/files/patch-app.mk (contents, props changed) head/devel/common_lib/pkg-descr (contents, props changed) head/devel/common_lib/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 18 13:00:09 2013 (r318428) +++ head/devel/Makefile Sat May 18 13:02:11 2013 (r318429) @@ -254,6 +254,7 @@ SUBDIR += colorgcc SUBDIR += colormake SUBDIR += combat + SUBDIR += common_lib SUBDIR += commoncpp SUBDIR += compiler-rt SUBDIR += compiz-bcop Added: head/devel/common_lib/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/Makefile Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,54 @@ +# $FreeBSD$ + +PORTNAME= common_lib +PORTVERSION= 3.3.4 +CATEGORIES= devel +MASTER_SITES= GH + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Library of commonly used Erlang functions + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ + txt2tags:${PORTSDIR}/textproc/txt2tags \ + iconv:${PORTSDIR}/converters/libiconv +RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= iamaleksey +GH_PROJECT= common_lib +GH_COMMIT= c242861 +GH_TAGNAME= ${PORTVERSION} + +USE_GMAKE= yes +USE_DOS2UNIX= Makefile +ALL_TARGET= compile doc + +MAN1= common_lib.1 +MAN3= cl_application.3 cl_binary.3 cl_calendar.3 cl_consumer.3 \ + cl_csv.3 cl_dqueue.3 cl_lists.3 cl_math.3 cl_pool.3 cl_queue.3 \ + cl_queue_srv.3 cl_queue_tab.3 cl_stats.3 cl_string.3 cl_timer.3 + +.include + +post-extract: + @${REINPLACE_CMD} -e "s@<@<@g" -e "s@>@>@g" ${WRKSRC}/doc/*.ndoc + +do-install: +.for manpage in ${MAN1} ${MAN3} + @iconv -f UTF-8 -t ISO-8859-1 ${WRKSRC}/doc/man/${manpage} > ${WRKSRC}/doc/man/${manpage}.iconv +.endfor +.for manpage in ${MAN1} + @${INSTALL_MAN} ${WRKSRC}/doc/man/${manpage}.iconv ${MAN1PREFIX}/man/man1/${manpage} +.endfor +.for manpage in ${MAN3} + @${INSTALL_MAN} ${WRKSRC}/doc/man/${manpage}.iconv ${MAN3PREFIX}/man/man3/${manpage} +.endfor + @${MKDIR} ${PREFIX}/lib/erlang/lib/common_lib-${PORTVERSION} + @${MKDIR} ${PREFIX}/lib/erlang/lib/common_lib-${PORTVERSION}/ebin + @${MKDIR} ${PREFIX}/lib/erlang/lib/common_lib-${PORTVERSION}/src + @${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/common_lib-${PORTVERSION}/ebin + @${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/common_lib-${PORTVERSION}/src + +.include Added: head/devel/common_lib/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/distinfo Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,2 @@ +SHA256 (common_lib-3.3.4.tar.gz) = 83a0964c15a14f91501e89ac22310c862398ac82e713c5f0868faaab8428f0be +SIZE (common_lib-3.3.4.tar.gz) = 140510 Added: head/devel/common_lib/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/files/patch-Makefile Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,41 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -1,3 +1,5 @@ ++include app.mk ++ + ###----------------------------------------------------------------------------- + ### APPLICATION LAYOUT + ###----------------------------------------------------------------------------- +@@ -35,7 +37,10 @@ + test: + ./rebar ct + +-doc: man html pdf ++doc: dirs man ++ ++dirs: ++ @$(MKDIR) doc/man + + man: $(MANS) + @$(MV) doc/man/$(APPNAME)_overview.3 doc/man/$(APPNAME).1 +@@ -49,14 +54,14 @@ + %.3: %.ndoc + @$(CD) doc; $(SED) "s|%MODULES%|`echo $(MODS)`|g" ../$^ | \ + $(SED) "s|%VSN%|$(VSN)|g" | $(SED) "s|%APPLICATION%|$(APPNAME)|g" | \ +- $(ERLDOC) -i - -t man --no-toc --erl -o man/$@; $(CD) .. ++ $(ERLDOC) -i - -t man --no-toc -o man/$@; $(CD) .. + + %.html: %.ndoc + @$(CD) doc; $(SED) "s|%MODULES%|`echo $(MODS)`|g" ../$^ | \ + $(SED) "s|%VSN%|$(VSN)|g" | $(SED) "s|%APPLICATION%|$(APPNAME)|g" | \ +- $(ERLDOC) -i - -t xhtml --erl -o html/$@; $(CD) .. ++ $(ERLDOC) -i - -t xhtml -o html/$@; $(CD) .. + + %.pdf: %.ndoc + @$(CD) doc; $(SED) "s|%MODULES%|`echo $(MODS)`|g" ../$^ | \ + $(SED) "s|%VSN%|$(VSN)|g" | $(SED) "s|%APPLICATION%|$(APPNAME)|g" | \ +- $(ERLDOC) -i - -t pdf --no-toc --erl -o pdf/$@; $(CD) .. ++ $(ERLDOC) -i - -t pdf --no-toc -o pdf/$@; $(CD) .. Added: head/devel/common_lib/files/patch-app.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/files/patch-app.mk Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- app.mk.orig ++++ app.mk +@@ -25,7 +25,7 @@ + CD = cd + CP = cp -vf + ECHO = echo +-ERLDOC = ndoc ++ERLDOC = txt2tags + LN = ln -sf + MKDIR = mkdir + MV = mv -vf Added: head/devel/common_lib/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/pkg-descr Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,4 @@ +common_lib is a library of Erlang functions used by oserl and other +projects. + +WWW: https://github.com/iamaleksey/common_lib Added: head/devel/common_lib/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/common_lib/pkg-plist Sat May 18 13:02:11 2013 (r318429) @@ -0,0 +1,44 @@ +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_application.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_bin.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_binary.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_calendar.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_consumer.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_csv.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_dqueue.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_lists.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_math.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_pool.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_queue.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_queue_srv.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_queue_tab.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_stats.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_string.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_timer.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_timer_srv.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/cl_url.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/common_lib.app +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/common_lib.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin/common_lib_sup.beam +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_application.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_bin.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_binary.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_calendar.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_consumer.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_csv.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_dqueue.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_lists.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_math.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_pool.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_queue.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_queue_srv.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_queue_tab.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_stats.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_string.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_timer.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_timer_srv.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/cl_url.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/common_lib.erl +%%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src/common_lib_sup.erl +@dirrm %%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/ebin +@dirrm %%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%/src +@dirrm %%LIB32DIR%%/erlang/lib/common_lib-%%VERSION%%