From 44e083b63230d98ec1a380b9211fb9543dc1a2e2 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 16 Jan 2005 00:29:46 +0000 Subject: [PATCH] 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. PR: ports/76264 Submitted by: Samy Al Bahra --- arabic/Makefile | 1 + arabic/libitl/Makefile | 24 +++++++++++++++++ arabic/libitl/distinfo | 2 ++ arabic/libitl/files/patch-Makefile | 41 ++++++++++++++++++++++++++++++ arabic/libitl/pkg-descr | 7 +++++ arabic/libitl/pkg-plist | 8 ++++++ 6 files changed, 83 insertions(+) create mode 100644 arabic/libitl/Makefile create mode 100644 arabic/libitl/distinfo create mode 100644 arabic/libitl/files/patch-Makefile create mode 100644 arabic/libitl/pkg-descr create mode 100644 arabic/libitl/pkg-plist diff --git a/arabic/Makefile b/arabic/Makefile index e7725ca4ee42..dc94f058a64f 100644 --- a/arabic/Makefile +++ b/arabic/Makefile @@ -10,6 +10,7 @@ SUBDIR += kde3-i18n SUBDIR += khotot SUBDIR += koffice-i18n + SUBDIR += libitl SUBDIR += openoffice-1.1 .include diff --git a/arabic/libitl/Makefile b/arabic/libitl/Makefile new file mode 100644 index 000000000000..6667288ea20a --- /dev/null +++ b/arabic/libitl/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: libitl +# Date created: January 12 2005 +# Whom: Samy Al Bahra +# +# $FreeBSD$ +# + +PORTNAME= libitl +PORTVERSION= 0.6.3 +CATEGORIES= arabic +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= arabeyes + +MAINTAINER= samy@kerneled.org +COMMENT= An API abstraction to common Islamic calculations + +GNU_CONFIGURE= yes +USE_BZIP2= yes +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib/itl + +WRKSRC= ${WRKDIR}/itl/libs-${PORTVERSION} + +.include diff --git a/arabic/libitl/distinfo b/arabic/libitl/distinfo new file mode 100644 index 000000000000..9760ea3cd22d --- /dev/null +++ b/arabic/libitl/distinfo @@ -0,0 +1,2 @@ +MD5 (libitl-0.6.3.tar.bz2) = 905c300346fbfac3ea851b526039fbf1 +SIZE (libitl-0.6.3.tar.bz2) = 68756 diff --git a/arabic/libitl/files/patch-Makefile b/arabic/libitl/files/patch-Makefile new file mode 100644 index 000000000000..e8f76ed3ca4b --- /dev/null +++ b/arabic/libitl/files/patch-Makefile @@ -0,0 +1,41 @@ +--- Makefile.orig Wed Dec 29 00:26:47 2004 ++++ Makefile Sat Jan 15 09:46:50 2005 +@@ -9,7 +9,7 @@ + + COMPONENTS = hijri prayertime + +-all: configure build/config.mk build/libitl.so ++all: configure build/config.mk build/libitl.so build/static/libitl.a + + static: configure build/config.mk build/static/libitl.a + +@@ -40,8 +40,8 @@ + || mkdir -p $(PREFIX)/lib \ + || exit 1; + cp build/libitl.$(VERSION).so.$(SONAME) $(PREFIX)/lib +- cp -d build/libitl.so.$(SONAME) $(PREFIX)/lib +- cp -d build/libitl.so $(PREFIX)/lib ++ cp -R build/libitl.so.$(SONAME) $(PREFIX)/lib ++ cp -R build/libitl.so $(PREFIX)/lib + @echo "==> Installing ITL components..." + for i in $(COMPONENTS); do \ + $(MAKE) -C $$i install || exit 1; \ +@@ -52,14 +52,15 @@ + $(AR) rcs build/libitl.a build/*.o + rm -f build/*.o build/ITL_* + +-install: build/libitl.so ++install: build/libitl.so build/static/libitl.a + @echo "==> Installing libitl library..." + test -d $(PREFIX)/lib/itl \ + || mkdir -p $(PREFIX)/lib/itl \ + || exit 1; + cp build/libitl.$(VERSION).so.$(SONAME) $(PREFIX)/lib/itl +- cp -d build/libitl.so.$(SONAME) $(PREFIX)/lib/itl +- cp -d build/libitl.so $(PREFIX)/lib/itl ++ cp -R build/libitl.so.$(SONAME) $(PREFIX)/lib/itl ++ cp -R build/libitl.so $(PREFIX)/lib/itl ++ cp -R build/libitl.a $(PREFIX)/lib/itl + @echo "==> Installing ITL components..." + for i in $(COMPONENTS); do \ + $(MAKE) -C $$i install || exit 1; \ diff --git a/arabic/libitl/pkg-descr b/arabic/libitl/pkg-descr new file mode 100644 index 000000000000..0f6d6309aab5 --- /dev/null +++ b/arabic/libitl/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://www.arabeyes.org/project.php?proj=ITL diff --git a/arabic/libitl/pkg-plist b/arabic/libitl/pkg-plist new file mode 100644 index 000000000000..25c83a758219 --- /dev/null +++ b/arabic/libitl/pkg-plist @@ -0,0 +1,8 @@ +lib/itl/libitl.0.6.3.so.0 +lib/itl/libitl.so.0 +lib/itl/libitl.so +lib/itl/libitl.a +include/itl/prayer.h +include/itl/hijri.h +@dirrm lib/itl +@dirrm include/itl