From owner-svn-ports-head@freebsd.org Fri Jul 22 17:09:53 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 B50B7BA1A15; Fri, 22 Jul 2016 17:09:53 +0000 (UTC) (envelope-from marino@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 7305112E2; Fri, 22 Jul 2016 17:09:53 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6MH9qC6085523; Fri, 22 Jul 2016 17:09:52 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6MH9qcC085516; Fri, 22 Jul 2016 17:09:52 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201607221709.u6MH9qcC085516@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 22 Jul 2016 17:09:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418925 - in head/devel: . adaid adaid/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.22 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: Fri, 22 Jul 2016 17:09:53 -0000 Author: marino Date: Fri Jul 22 17:09:51 2016 New Revision: 418925 URL: https://svnweb.freebsd.org/changeset/ports/418925 Log: Add new port devel/adaid (AdaID) Supported operations include: * Generating random UUIDs * Generating name-based UUIDs * Restoring UUIDs from a string representation. * Converting a UUID to a string I'd like to thank Anthony Arnold, the author, for re-releasing this useful library under the 2-clause BSD license. It was previously only available under the full GPL. Added: head/devel/adaid/ head/devel/adaid/Makefile (contents, props changed) head/devel/adaid/distinfo (contents, props changed) head/devel/adaid/files/ head/devel/adaid/files/adaid.gpr (contents, props changed) head/devel/adaid/pkg-descr (contents, props changed) head/devel/adaid/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Jul 22 17:08:18 2016 (r418924) +++ head/devel/Makefile Fri Jul 22 17:09:51 2016 (r418925) @@ -56,6 +56,7 @@ SUBDIR += acsccid SUBDIR += activitymail SUBDIR += ada-util + SUBDIR += adaid SUBDIR += adabooch SUBDIR += adacurses SUBDIR += adime Added: head/devel/adaid/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/adaid/Makefile Fri Jul 22 17:09:51 2016 (r418925) @@ -0,0 +1,49 @@ +# Created by: John Marino +# $FreeBSD$ + +PORTNAME= adaid +PORTVERSION= 0.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= marino@FreeBSD.org +COMMENT= Simple Ada library for generating UUIDs + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= gprbuild:devel/gprbuild +TEST_DEPENDS= ${LOCALBASE}/lib/gnat/aunit.gpr:devel/aunit + +USES= ada:run +USE_GITHUB= yes +GH_ACCOUNT= anthony-arnold +GH_PROJECT= AdaID + +LIB_VERSION= 1.0.2 # get from ${WRKSRC}/Makefile + +post-patch: + ${SED} -e 's|"src"|"src", "include"|; s|%VERSION%|${LIB_VERSION}|' \ + ${WRKSRC}/adaid.gpr.in > ${WRKSRC}/adaid.gpr + ${REINPLACE_CMD} -e 's|adaid_debug|adaid|' ${WRKSRC}/test.gpr + +do-build: + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BUILD_ARGS} \ + gprbuild -p -P adaid) + +do-test: + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TEST_ARGS} \ + gprbuild -p -P test) + ${TEST_WRKSRC}/bin/test + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include/adaid \ + ${STAGEDIR}${PREFIX}/lib/adaid \ + ${STAGEDIR}${PREFIX}/lib/gnat + ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${PREFIX}/lib/adaid + ${INSTALL_DATA} ${WRKSRC}/ali/*.ali* ${STAGEDIR}${PREFIX}/lib/adaid + ${INSTALL_DATA} ${WRKSRC}/src/*.adb ${WRKSRC}/include/*.ads \ + ${STAGEDIR}${PREFIX}/include/adaid + ${INSTALL_DATA} ${FILESDIR}/adaid.gpr ${STAGEDIR}${PREFIX}/lib/gnat + +.include Added: head/devel/adaid/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/adaid/distinfo Fri Jul 22 17:09:51 2016 (r418925) @@ -0,0 +1,3 @@ +TIMESTAMP = 1468952292 +SHA256 (anthony-arnold-AdaID-v0.0.0_GH0.tar.gz) = dc18de972d918b6254d2d509086953478c14fc9b6f49e4177db5f43fbf0754e2 +SIZE (anthony-arnold-AdaID-v0.0.0_GH0.tar.gz) = 14959 Added: head/devel/adaid/files/adaid.gpr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/adaid/files/adaid.gpr Fri Jul 22 17:09:51 2016 (r418925) @@ -0,0 +1,8 @@ +project AdaID is + for Languages use ("ada"); + for Library_Name use "adaid"; + for Source_Dirs use ("../../include/adaid"); + for Library_Dir use "../../lib/adaid"; + for Library_Kind use "dynamic"; + for Externally_Built use "true"; +end AdaID; Added: head/devel/adaid/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/adaid/pkg-descr Fri Jul 22 17:09:51 2016 (r418925) @@ -0,0 +1,9 @@ +AdaID is a simple Ada library for generating UUIDs. + +Supported operations include: + * Generating random UUIDs + * Generating name-based UUIDs + * Restoring UUIDs from a string representation. + * Converting a UUID to a string + +WWW: https://github.com/anthony-arnold/AdaID Added: head/devel/adaid/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/adaid/pkg-plist Fri Jul 22 17:09:51 2016 (r418925) @@ -0,0 +1,12 @@ +include/adaid/adaid-generate.adb +include/adaid/adaid-generate.ads +include/adaid/adaid.adb +include/adaid/adaid.ads +include/adaid/sha-process_data.adb +lib/adaid/adaid-generate.ali +lib/adaid/adaid.ali +lib/adaid/libadaid.so +lib/adaid/libadaid.so.1.0.2 +lib/adaid/sha-process_data.ali +lib/adaid/sha.ali +lib/gnat/adaid.gpr