Index: arabic/libitl/Makefile =================================================================== --- arabic/libitl/Makefile (revision 455812) +++ arabic/libitl/Makefile (working copy) @@ -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 Index: arabic/libitl/distinfo =================================================================== --- arabic/libitl/distinfo (revision 455812) +++ arabic/libitl/distinfo (working copy) @@ -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 Index: arabic/libitl/files/patch-CMakeLists.txt =================================================================== --- arabic/libitl/files/patch-CMakeLists.txt (nonexistent) +++ arabic/libitl/files/patch-CMakeLists.txt (working copy) @@ -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 ) Property changes on: arabic/libitl/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: arabic/libitl/files/patch-Makefile.in =================================================================== --- arabic/libitl/files/patch-Makefile.in (revision 455812) +++ arabic/libitl/files/patch-Makefile.in (nonexistent) @@ -1,24 +0,0 @@ ---- Makefile.in.orig 2009-03-17 16:26:28 UTC -+++ Makefile.in -@@ -83,15 +83,15 @@ debinstall: components - - install: build/libitl.so build/libitl.a - @echo "==> Installing libitl library..." -- test -d $(PREFIX)/lib/itl \ -- || install -d $(PREFIX)/lib/itl \ -+ test -d $(DESTDIR)$(PREFIX)/lib/itl \ -+ || install -d $(DESTDIR)$(PREFIX)/lib/itl \ - || exit 1; -- install build/$(FULLNAME) $(PREFIX)/lib/itl -- install build/libitl.a $(PREFIX)/lib/itl -+ install build/$(FULLNAME) $(DESTDIR)$(PREFIX)/lib/itl -+ install build/libitl.a $(DESTDIR)$(PREFIX)/lib/itl - # Using cp -P as cp --no-dereference is not POSIX - # or use --preserve=link instead. -- cp -P build/$(SONAME) $(PREFIX)/lib/itl -- cp -P build/libitl.so $(PREFIX)/lib/itl -+ cp -P build/$(SONAME) $(DESTDIR)$(PREFIX)/lib/itl -+ cp -P build/libitl.so $(DESTDIR)$(PREFIX)/lib/itl - @echo "==> Installing ITL components..." - for i in $(COMPONENTS); do \ - $(MAKE) -C $$i install || exit 1; \ Property changes on: arabic/libitl/files/patch-Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: arabic/libitl/files/patch-hijri_Makefile =================================================================== --- arabic/libitl/files/patch-hijri_Makefile (revision 455812) +++ arabic/libitl/files/patch-hijri_Makefile (nonexistent) @@ -1,16 +0,0 @@ ---- hijri/Makefile.orig 2006-09-21 16:34:31 UTC -+++ hijri/Makefile -@@ -10,10 +10,10 @@ demo_hijri: - - install: all - @echo "==> Installing hijri component..." -- test -d $(PREFIX)/include/itl \ -- || install -d $(PREFIX)/include/itl \ -+ test -d $(DESTDIR)$(PREFIX)/include/itl \ -+ || install -d $(DESTDIR)$(PREFIX)/include/itl \ - || exit 1; -- install src/hijri.h $(PREFIX)/include/itl -+ install src/hijri.h $(DESTDIR)$(PREFIX)/include/itl - - uninstall: - @echo "==> Uninstalling hijri component..." Property changes on: arabic/libitl/files/patch-hijri_Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: arabic/libitl/files/patch-prayertime_Makefile =================================================================== --- arabic/libitl/files/patch-prayertime_Makefile (revision 455812) +++ arabic/libitl/files/patch-prayertime_Makefile (nonexistent) @@ -1,16 +0,0 @@ ---- prayertime/Makefile.orig 2006-09-21 16:37:51 UTC -+++ prayertime/Makefile -@@ -10,10 +10,10 @@ demo_prayer: - - install: all - @echo "==> Installing prayertime component..." -- test -d $(PREFIX)/include/itl \ -- || install $(PREFIX)/include/itl \ -+ test -d $(DESTDIR)$(PREFIX)/include/itl \ -+ || install $(DESTDIR)$(PREFIX)/include/itl \ - || exit 1; -- install src/prayer.h $(PREFIX)/include/itl -+ install src/prayer.h $(DESTDIR)$(PREFIX)/include/itl - - uninstall: - @echo "==> Uninstalling prayertime component..." Property changes on: arabic/libitl/files/patch-prayertime_Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: arabic/libitl/pkg-descr =================================================================== --- arabic/libitl/pkg-descr (revision 455812) +++ arabic/libitl/pkg-descr (working copy) @@ -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 Index: arabic/libitl/pkg-plist =================================================================== --- arabic/libitl/pkg-plist (revision 455812) +++ arabic/libitl/pkg-plist (working copy) @@ -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