From owner-svn-ports-head@freebsd.org Thu Mar 24 16:14:29 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DADEADCD14; Thu, 24 Mar 2016 16:14:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2517A1985; Thu, 24 Mar 2016 16:14:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2OGESt1062910; Thu, 24 Mar 2016 16:14:28 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2OGERQJ062905; Thu, 24 Mar 2016 16:14:27 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201603241614.u2OGERQJ062905@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 24 Mar 2016 16:14:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411800 - in head/devel: . libcrossguid libcrossguid/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-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 16:14:29 -0000 Author: amdmi3 Date: Thu Mar 24 16:14:27 2016 New Revision: 411800 URL: https://svnweb.freebsd.org/changeset/ports/411800 Log: CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best native GUID/UUID generator on the given platform and had a generic class for parsing, stringifying, and comparing IDs. WWW: https://github.com/graeme-hill/crossguid PR: 208113 Submitted by: mickael.maillot@gmail.com Added: head/devel/libcrossguid/ head/devel/libcrossguid/Makefile (contents, props changed) head/devel/libcrossguid/distinfo (contents, props changed) head/devel/libcrossguid/files/ head/devel/libcrossguid/files/libcrossguid.pc.in (contents, props changed) head/devel/libcrossguid/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 24 15:56:07 2016 (r411799) +++ head/devel/Makefile Thu Mar 24 16:14:27 2016 (r411800) @@ -1150,6 +1150,7 @@ SUBDIR += libconcurrent SUBDIR += libconfig SUBDIR += libconfuse + SUBDIR += libcrossguid SUBDIR += libcutl SUBDIR += libcwd SUBDIR += libcxxrt Added: head/devel/libcrossguid/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcrossguid/Makefile Thu Mar 24 16:14:27 2016 (r411800) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= libcrossguid +PORTVERSION= 20150803 +CATEGORIES= devel + +MAINTAINER= mickael.maillot@gmail.com +COMMENT= Minimal and cross platform C++ GUID library + +LICENSE= MIT +LICENSE_FILES= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid + +USE_GITHUB= yes +GH_ACCOUNT= graeme-hill +GH_PROJECT= crossguid +GH_TAGNAME= 8f399e8 + +USES= compiler:c++11-lang pkgconfig +USE_CXXSTD= c++11 +CXXFLAGS+= `pkg-config --cflags uuid` +PLIST_FILES= include/guid.h lib/libcrossguid.so libdata/pkgconfig/libcrossguid.pc + +post-patch: + @${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \ + ${FILESDIR}/libcrossguid.pc.in > ${WRKDIR}/libcrossguid.pc + +do-build: + @cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -shared -fPIC guid.cpp -o libcrossguid.so -DGUID_LIBUUID + +do-install: + ${INSTALL_DATA} ${WRKSRC}/guid.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${WRKSRC}/libcrossguid.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKDIR}/libcrossguid.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + +.include Added: head/devel/libcrossguid/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcrossguid/distinfo Thu Mar 24 16:14:27 2016 (r411800) @@ -0,0 +1,2 @@ +SHA256 (graeme-hill-crossguid-20150803-8f399e8_GH0.tar.gz) = 929397adfe57b945c5153e09f1e0bc1763300e2b30578ec7ed6facc2821d7f6f +SIZE (graeme-hill-crossguid-20150803-8f399e8_GH0.tar.gz) = 46576 Added: head/devel/libcrossguid/files/libcrossguid.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcrossguid/files/libcrossguid.pc.in Thu Mar 24 16:14:27 2016 (r411800) @@ -0,0 +1,10 @@ +prefix=%PREFIX% +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: libguid +Description: minimal and cross platform C++ GUID library +Version: %VERSION% +Libs: -L${libdir} -lguid +Cflags: -I${includedir} + Added: head/devel/libcrossguid/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcrossguid/pkg-descr Thu Mar 24 16:14:27 2016 (r411800) @@ -0,0 +1,5 @@ +CrossGuid is a minimal, cross platform, C++ GUID library. +It uses the best native GUID/UUID generator on the given platform +and had a generic class for parsing, stringifying, and comparing IDs. + +WWW: https://github.com/graeme-hill/crossguid