aboutsummaryrefslogtreecommitdiff
path: root/arabic/libitl
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-16 00:29:46 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-16 00:29:46 +0000
commit44e083b63230d98ec1a380b9211fb9543dc1a2e2 (patch)
tree355ab0e3bc96e433ef9c46ad8cf52378f5cf90ef /arabic/libitl
parent267e77daecaf98bba51353731e256da7950bf238 (diff)
downloadports-44e083b63230d98ec1a380b9211fb9543dc1a2e2.tar.gz
ports-44e083b63230d98ec1a380b9211fb9543dc1a2e2.zip
Notes
Diffstat (limited to 'arabic/libitl')
-rw-r--r--arabic/libitl/Makefile24
-rw-r--r--arabic/libitl/distinfo2
-rw-r--r--arabic/libitl/files/patch-Makefile41
-rw-r--r--arabic/libitl/pkg-descr7
-rw-r--r--arabic/libitl/pkg-plist8
5 files changed, 82 insertions, 0 deletions
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 <samy@kerneled.org>
+#
+# $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 <bsd.port.mk>
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