From owner-svn-ports-all@freebsd.org Sat Dec 9 17:35:53 2017 Return-Path: Delivered-To: svn-ports-all@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 31728E92623; Sat, 9 Dec 2017 17:35:53 +0000 (UTC) (envelope-from cpm@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 08B4A6DFFB; Sat, 9 Dec 2017 17:35:52 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB9HZqPR044122; Sat, 9 Dec 2017 17:35:52 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB9HZpgm044117; Sat, 9 Dec 2017 17:35:51 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201712091735.vB9HZpgm044117@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sat, 9 Dec 2017 17:35:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455868 - in head/arabic/libitl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in head/arabic/libitl: . files X-SVN-Commit-Revision: 455868 X-SVN-Commit-Repository: ports 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.25 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, 09 Dec 2017 17:35:53 -0000 Author: cpm Date: Sat Dec 9 17:35:51 2017 New Revision: 455868 URL: https://svnweb.freebsd.org/changeset/ports/455868 Log: - Update to 0.8.0 - Switch to USE_GITHUB - Switch to USES=cmake - Drop unneeded patches - Add DOCS option - Update comment and WWW in pkg-descr - Take maintainership Changelog: https://github.com/arabeyes-org/ITL/releases/tag/v0.8.0 PR: 221766 Submitted by: cpm Added: head/arabic/libitl/files/patch-CMakeLists.txt (contents, props changed) Deleted: head/arabic/libitl/files/patch-Makefile.in head/arabic/libitl/files/patch-hijri_Makefile head/arabic/libitl/files/patch-prayertime_Makefile Modified: head/arabic/libitl/Makefile head/arabic/libitl/distinfo head/arabic/libitl/pkg-descr head/arabic/libitl/pkg-plist Modified: head/arabic/libitl/Makefile ============================================================================== --- head/arabic/libitl/Makefile Sat Dec 9 17:11:09 2017 (r455867) +++ head/arabic/libitl/Makefile Sat Dec 9 17:35:51 2017 (r455868) @@ -2,26 +2,30 @@ # $FreeBSD$ PORTNAME= libitl -PORTVERSION= 0.7.0 -PORTREVISION= 1 +PORTVERSION= 0.8.0 +DISTVERSIONPREFIX= v CATEGORIES= arabic -MASTER_SITES= SF/arabeyes/ITL%20Library%20%28${PORTNAME}%29/${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cpm@FreeBSD.org COMMENT= API abstraction to common Islamic calculations LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -USE_LDCONFIG= ${PREFIX}/lib/itl -MAKE_JOBS_UNSAFE= yes +USES= cmake pkgconfig +USE_LDCONFIG= yes -post-install: -.for f in libitl.so libitl.so.0 - ${RM} ${STAGEDIR}${PREFIX}/lib/itl/$f - ${LN} -s libitl.so.0.0.7 ${STAGEDIR}${PREFIX}/lib/itl/$f -.endfor - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itl/libitl.so +USE_GITHUB= yes +GH_ACCOUNT= arabeyes-org +GH_PROJECT= ITL +GH_TAGNAME= f8f41cc + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + (cd ${WRKSRC}/new_method/references && ${COPYTREE_SHARE} \ + "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include Modified: head/arabic/libitl/distinfo ============================================================================== --- head/arabic/libitl/distinfo Sat Dec 9 17:11:09 2017 (r455867) +++ head/arabic/libitl/distinfo Sat Dec 9 17:35:51 2017 (r455868) @@ -1,2 +1,3 @@ -SHA256 (libitl-0.7.0.tar.gz) = 351a280bebe69b0aa4681c32288a48574407ac3e3a8f273c2be330ac20edce00 -SIZE (libitl-0.7.0.tar.gz) = 135700 +TIMESTAMP = 1509667607 +SHA256 (arabeyes-org-ITL-v0.8.0-f8f41cc_GH0.tar.gz) = cf113a7b963469e2cf56d3b9e9d7cae18c79ac55ab1faa8b4464aad3dc1a4234 +SIZE (arabeyes-org-ITL-v0.8.0-f8f41cc_GH0.tar.gz) = 1233648 Added: head/arabic/libitl/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/arabic/libitl/files/patch-CMakeLists.txt Sat Dec 9 17:35:51 2017 (r455868) @@ -0,0 +1,24 @@ +--- CMakeLists.txt.orig 2017-10-31 20:26:09 UTC ++++ CMakeLists.txt +@@ -12,7 +12,7 @@ set(LIBRARY_VERSION_FULL "${LIBRARY_VERS + message( "Installation target directory is: " ${CMAKE_INSTALL_PREFIX} ) + message( "To override this value, use 'make -DCMAKE_INSTALL_PREFIX=$DIR'" ) + +-set( COMPILE_FLAGS "-ansi -pedantic -Wall -O2" ) ++set( COMPILE_FLAGS "-pedantic -Wall -O2" ) + set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMPILE_FLAGS}" ) + + # Specify header files +@@ -43,9 +43,9 @@ set(VERSION "${LIBRARY_VERSION_FULL}") + configure_file("libitl.pc.in" "libitl.pc" @ONLY) + + install( FILES ${HEADER_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/itl" ) +-install( TARGETS itl DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +-install( TARGETS itlShared DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +-install(FILES "libitl.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/) ++install( TARGETS itl DESTINATION ${CMAKE_INSTALL_LIBDIR}/itl ) ++install( TARGETS itlShared DESTINATION ${CMAKE_INSTALL_LIBDIR}/itl ) ++install(FILES "libitl.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/) + + # Specify executables + add_executable( demo_hijri hijri/demo_hijri.c ) Modified: head/arabic/libitl/pkg-descr ============================================================================== --- head/arabic/libitl/pkg-descr Sat Dec 9 17:11:09 2017 (r455867) +++ head/arabic/libitl/pkg-descr Sat Dec 9 17:35:51 2017 (r455868) @@ -1,5 +1,10 @@ -The Islamic Tools and Libraries (ITL) is a project to provide a -plethora of useful Islamic tools and applications as well as a -comprehensive feature-full Islam-centric library. The ITL -project currently includes full lunar-centric time measurement -routines. +The Islamic Tools and Libraries (ITL) project provides a fully +featured library for performing common Islamic calculations. + +ITL is currently composed of two library-modules: + +* prayertime: Geographically-aware prayer time and Qibla calculation + routines. +* hijri: Hijri date generation/calculation and conversion routines. + +WWW: https://github.com/arabeyes-org/ITL Modified: head/arabic/libitl/pkg-plist ============================================================================== --- head/arabic/libitl/pkg-plist Sat Dec 9 17:11:09 2017 (r455867) +++ head/arabic/libitl/pkg-plist Sat Dec 9 17:35:51 2017 (r455868) @@ -1,6 +1,8 @@ +include/itl/astro.h include/itl/hijri.h include/itl/prayer.h lib/itl/libitl.a lib/itl/libitl.so lib/itl/libitl.so.0 -lib/itl/libitl.so.0.0.7 +lib/itl/libitl.so.0.1.8 +libdata/pkgconfig/libitl.pc