Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2017 17:35:51 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455868 - in head/arabic/libitl: . files
Message-ID:  <201712091735.vB9HZpgm044117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712091735.vB9HZpgm044117>