aboutsummaryrefslogtreecommitdiffstats
path: root/devel/florist
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-27 14:46:04 +0800
committeredwin <edwin@FreeBSD.org>2003-09-27 14:46:04 +0800
commit5bffd08311b9884f5354067406832c5691e21bf8 (patch)
tree5bff805e7e43fddc50b96a85948749c45b06aad0 /devel/florist
parenta7f878378adb7baed468398c3f9c8889652bc26d (diff)
downloadfreebsd-ports-gnome-5bffd08311b9884f5354067406832c5691e21bf8.tar.gz
freebsd-ports-gnome-5bffd08311b9884f5354067406832c5691e21bf8.tar.zst
freebsd-ports-gnome-5bffd08311b9884f5354067406832c5691e21bf8.zip
New port: florist (Ada-POSIX bindings)
FLORIST is a FSU implementation of POSIX.5 WWW: http://www.gnat.com/ PR: ports/42280 Submitted by: Vadim Godunko <vgodunko@vipmail.ru> <vgodunko@rost.ru>
Diffstat (limited to 'devel/florist')
-rw-r--r--devel/florist/Makefile45
-rw-r--r--devel/florist/distinfo1
-rw-r--r--devel/florist/files/Makefile.bsd7
-rw-r--r--devel/florist/files/patch-c-posix.c23
-rw-r--r--devel/florist/files/patch-configure.in23
-rw-r--r--devel/florist/files/pconfig.FreeBSD5
-rw-r--r--devel/florist/pkg-descr6
-rw-r--r--devel/florist/pkg-plist187
8 files changed, 297 insertions, 0 deletions
diff --git a/devel/florist/Makefile b/devel/florist/Makefile
new file mode 100644
index 000000000000..97db0fa01532
--- /dev/null
+++ b/devel/florist/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: florist
+# Date created: 1 Sep 2002
+# Whom: Vadim Godunko <vgodunko@vipmail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= florist
+PORTVERSION= 3.15p
+CATEGORIES= devel
+MASTER_SITES= ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/
+DISTNAME= florist-${PORTVERSION}-src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= vgodunko@vipmail.ru
+COMMENT= FSU implementation of POSIX.5
+
+BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+
+USE_AUTOCONF= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS= --enable-threads
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
+ LIBS="${LIBS} ${PTHREAD_LIBS}"
+MAKEFILE= "${FILESDIR}/Makefile.bsd"
+MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} LN=${LN} \
+ RM=${RM}
+INSTALLS_SHLIB= yes
+
+post-extract:
+# add FreeBSD configuration
+ @${CP} ${FILESDIR}/pconfig.FreeBSD \
+ ${WRKSRC}/configs
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/florist
+ @${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
+ ${WRKSRC}/floristlib/*.ali \
+ ${PREFIX}/lib/florist
+ @${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/libflorist-${PORTVERSION}.so.1 ${PREFIX}/lib
+ @${LN} -sf ${PREFIX}/lib/libflorist-${PORTVERSION}.so.1 \
+ ${PREFIX}/lib/libflorist-${PORTVERSION}.so
+
+.include <bsd.port.mk>
diff --git a/devel/florist/distinfo b/devel/florist/distinfo
new file mode 100644
index 000000000000..ed96d6b3ee99
--- /dev/null
+++ b/devel/florist/distinfo
@@ -0,0 +1 @@
+MD5 (florist-3.15p-src.tgz) = 988e08ee86e022249fed79345b25921f
diff --git a/devel/florist/files/Makefile.bsd b/devel/florist/files/Makefile.bsd
new file mode 100644
index 000000000000..3414af1ca145
--- /dev/null
+++ b/devel/florist/files/Makefile.bsd
@@ -0,0 +1,7 @@
+all:
+ @${GMAKE} GNATMAKEFLAGS1B="-O2 -fPIC"
+ @${LOCALBASE}/bin/adagcc -shared -Wl,-soname,libflorist-${PORTVERSION}.so.1 \
+ -o libflorist-${PORTVERSION}.so.1 *.o
+ @${LN} -sf libflorist-${PORTVERSION}.so.1 \
+ libflorist-${PORTVERSION}.so
+ @${RM} -f floristlib/deps* floristlib/gnatprep*
diff --git a/devel/florist/files/patch-c-posix.c b/devel/florist/files/patch-c-posix.c
new file mode 100644
index 000000000000..679dc1a78f74
--- /dev/null
+++ b/devel/florist/files/patch-c-posix.c
@@ -0,0 +1,23 @@
+--- c-posix.c.orig Thu Oct 24 01:03:51 2002
++++ c-posix.c Fri Sep 26 23:38:36 2003
+@@ -2788,7 +2788,11 @@
+ #endif
+
+ #ifdef SEM_VALUE_MAX
++#if SEM_VALUE_MAX > INT_MAX
++ gmaxnn("Semaphores_Value",INT_MAX);
++#else
+ gmaxnn("Semaphores_Value",SEM_VALUE_MAX);
++#endif
+ #else
+ #ifdef _POSIX_SEM_VALUE_MAX
+ gmaxn("Semaphores_Value",_POSIX_SEM_VALUE_MAX);
+@@ -6344,7 +6348,7 @@
+ g_struct_msghdr();
+ gcmnt("local socket address");
+ { struct sockaddr_un DUMMY;
+- ifprintf(fp," subtype sun_path_string is
++ ifprintf(fp," subtype sun_path_string is \
+ POSIX_String (1 .. %d);\n", sizeof (DUMMY.sun_path));
+ }
+ g_struct_sockaddr_un();
diff --git a/devel/florist/files/patch-configure.in b/devel/florist/files/patch-configure.in
new file mode 100644
index 000000000000..e5a0ac59afce
--- /dev/null
+++ b/devel/florist/files/patch-configure.in
@@ -0,0 +1,23 @@
+--- configure.in.orig Tue Jun 3 03:55:13 2003
++++ configure.in Tue Jun 3 03:58:10 2003
+@@ -104,6 +104,10 @@
+ echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE};
+ cp ./configs/pconfig.LynxOS ./pconfig.h.in;
+ ;;
++ FreeBSD)
++ echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE};
++ cp ./configs/pconfig.FreeBSD ./pconfig.h.in;
++ ;;
+ *)
+ echo "No Configuration for ${UNAME_SYSTEM}. Using default.";
+ cp ./configs/pconfig.Default ./pconfig.h.in;
+@@ -177,7 +181,8 @@
+ AC_POSIX_LIB(pthreads, pthread_self,,
+ AC_POSIX_LIB(cma, pthread_self,,
+ AC_POSIX_LIB(:libcma.a, pthread_self,,
+- AC_POSIX_LIB(thread, pthread_self))))))
++ AC_POSIX_LIB(thread, pthread_self,,
++ AC_POSIX_LIB(c_r, pthread_self)))))))
+ fi
+
+ AC_POSIX_LIB(aio, aio_read)
diff --git a/devel/florist/files/pconfig.FreeBSD b/devel/florist/files/pconfig.FreeBSD
new file mode 100644
index 000000000000..96a460f4eaff
--- /dev/null
+++ b/devel/florist/files/pconfig.FreeBSD
@@ -0,0 +1,5 @@
+#define _POSIX_C_SOURCE 199506L
+#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1
+#define _REENTRANT
+#define _P1003_1B_VISIBLE
diff --git a/devel/florist/pkg-descr b/devel/florist/pkg-descr
new file mode 100644
index 000000000000..39b75f858db5
--- /dev/null
+++ b/devel/florist/pkg-descr
@@ -0,0 +1,6 @@
+FLORIST is a FSU implementation of POSIX.5
+
+WWW: http://www.gnat.com/
+
+--
+Vadim Godunko -- <vgodunko@vipmail.ru>
diff --git a/devel/florist/pkg-plist b/devel/florist/pkg-plist
new file mode 100644
index 000000000000..fdb631f8b9c9
--- /dev/null
+++ b/devel/florist/pkg-plist
@@ -0,0 +1,187 @@
+lib/florist/ada_streams.ads
+lib/florist/ada_streams.ali
+lib/florist/ada_task_identification.ads
+lib/florist/posix-asynchronous_io.adb
+lib/florist/posix-asynchronous_io.ads
+lib/florist/posix-c.adb
+lib/florist/posix-c.ads
+lib/florist/posix-c.ali
+lib/florist/posix-calendar.adb
+lib/florist/posix-calendar.ads
+lib/florist/posix-calendar.ali
+lib/florist/posix-condition_variables.adb
+lib/florist/posix-condition_variables.ads
+lib/florist/posix-configurable_file_limits.adb
+lib/florist/posix-configurable_file_limits.ads
+lib/florist/posix-configurable_file_limits.ali
+lib/florist/posix-configurable_system_limits.adb
+lib/florist/posix-configurable_system_limits.ads
+lib/florist/posix-configurable_system_limits.ali
+lib/florist/posix-error_codes.ads
+lib/florist/posix-event_management.adb
+lib/florist/posix-event_management.ads
+lib/florist/posix-file_locking.adb
+lib/florist/posix-file_locking.ads
+lib/florist/posix-file_locking.ali
+lib/florist/posix-file_status.adb
+lib/florist/posix-file_status.ads
+lib/florist/posix-file_status.ali
+lib/florist/posix-files.adb
+lib/florist/posix-files.ads
+lib/florist/posix-files.ali
+lib/florist/posix-generic_shared_memory.adb
+lib/florist/posix-generic_shared_memory.ads
+lib/florist/posix-generic_shared_memory.ali
+lib/florist/posix-group_database.adb
+lib/florist/posix-group_database.ads
+lib/florist/posix-group_database.ali
+lib/florist/posix-implementation.adb
+lib/florist/posix-implementation.ads
+lib/florist/posix-implementation.ali
+lib/florist/posix-io.adb
+lib/florist/posix-io.ads
+lib/florist/posix-io.ali
+lib/florist/posix-limits.ads
+lib/florist/posix-limits.ali
+lib/florist/posix-memory_locking.adb
+lib/florist/posix-memory_locking.ads
+lib/florist/posix-memory_locking.ali
+lib/florist/posix-memory_mapping.adb
+lib/florist/posix-memory_mapping.ads
+lib/florist/posix-memory_mapping.ali
+lib/florist/posix-memory_range_locking.adb
+lib/florist/posix-memory_range_locking.ads
+lib/florist/posix-memory_range_locking.ali
+lib/florist/posix-message_queues.adb
+lib/florist/posix-message_queues.ads
+lib/florist/posix-mutexes.adb
+lib/florist/posix-mutexes.ads
+lib/florist/posix-options.ads
+lib/florist/posix-options.ali
+lib/florist/posix-page_alignment.adb
+lib/florist/posix-page_alignment.ads
+lib/florist/posix-page_alignment.ali
+lib/florist/posix-permissions-implementation.adb
+lib/florist/posix-permissions-implementation.ads
+lib/florist/posix-permissions-implementation.ali
+lib/florist/posix-permissions.adb
+lib/florist/posix-permissions.ads
+lib/florist/posix-permissions.ali
+lib/florist/posix-process_environment.adb
+lib/florist/posix-process_environment.ads
+lib/florist/posix-process_environment.ali
+lib/florist/posix-process_identification.adb
+lib/florist/posix-process_identification.ads
+lib/florist/posix-process_identification.ali
+lib/florist/posix-process_primitives.adb
+lib/florist/posix-process_primitives.ads
+lib/florist/posix-process_scheduling.adb
+lib/florist/posix-process_scheduling.ads
+lib/florist/posix-process_scheduling.ali
+lib/florist/posix-process_times.adb
+lib/florist/posix-process_times.ads
+lib/florist/posix-process_times.ali
+lib/florist/posix-semaphores.adb
+lib/florist/posix-semaphores.ads
+lib/florist/posix-semaphores.ali
+lib/florist/posix-shared_memory_objects.adb
+lib/florist/posix-shared_memory_objects.ads
+lib/florist/posix-shared_memory_objects.ali
+lib/florist/posix-signals.adb
+lib/florist/posix-signals.ads
+lib/florist/posix-sockets-internet.adb
+lib/florist/posix-sockets-internet.ads
+lib/florist/posix-sockets-iso.ads
+lib/florist/posix-sockets-local.adb
+lib/florist/posix-sockets-local.ads
+lib/florist/posix-sockets.adb
+lib/florist/posix-sockets.ads
+lib/florist/posix-supplement_to_ada_io.adb
+lib/florist/posix-supplement_to_ada_io.ads
+lib/florist/posix-supplement_to_ada_io.ali
+lib/florist/posix-terminal_functions.adb
+lib/florist/posix-terminal_functions.ads
+lib/florist/posix-terminal_functions.ali
+lib/florist/posix-timers.adb
+lib/florist/posix-timers.ads
+lib/florist/posix-unsafe_process_primitives.adb
+lib/florist/posix-unsafe_process_primitives.ads
+lib/florist/posix-unsafe_process_primitives.ali
+lib/florist/posix-user_database.adb
+lib/florist/posix-user_database.ads
+lib/florist/posix-user_database.ali
+lib/florist/posix-xti-internet.adb
+lib/florist/posix-xti-internet.ads
+lib/florist/posix-xti-iso.ads
+lib/florist/posix-xti-mosi.ads
+lib/florist/posix-xti.adb
+lib/florist/posix-xti.ads
+lib/florist/posix.adb
+lib/florist/posix.ads
+lib/florist/posix.ali
+lib/florist/posix_asynchronous_io.ads
+lib/florist/posix_c.ads
+lib/florist/posix_calendar.ads
+lib/florist/posix_calendar.ali
+lib/florist/posix_condition_variables.ads
+lib/florist/posix_configurable_file_limits.ads
+lib/florist/posix_configurable_file_limits.ali
+lib/florist/posix_configurable_system_limits.ads
+lib/florist/posix_configurable_system_limits.ali
+lib/florist/posix_error_codes.ads
+lib/florist/posix_file_locking.ads
+lib/florist/posix_file_locking.ali
+lib/florist/posix_file_status.ads
+lib/florist/posix_file_status.ali
+lib/florist/posix_files.ads
+lib/florist/posix_files.ali
+lib/florist/posix_generic_shared_memory.ads
+lib/florist/posix_generic_shared_memory.ali
+lib/florist/posix_group_database.ads
+lib/florist/posix_group_database.ali
+lib/florist/posix_io.ads
+lib/florist/posix_io.ali
+lib/florist/posix_limits.ads
+lib/florist/posix_limits.ali
+lib/florist/posix_memory_locking.ads
+lib/florist/posix_memory_locking.ali
+lib/florist/posix_memory_mapping.ads
+lib/florist/posix_memory_mapping.ali
+lib/florist/posix_memory_range_locking.ads
+lib/florist/posix_memory_range_locking.ali
+lib/florist/posix_message_queues.ads
+lib/florist/posix_mutexes.ads
+lib/florist/posix_options.ads
+lib/florist/posix_options.ali
+lib/florist/posix_page_alignment.ads
+lib/florist/posix_page_alignment.ali
+lib/florist/posix_permissions.ads
+lib/florist/posix_permissions.ali
+lib/florist/posix_process_environment.ads
+lib/florist/posix_process_environment.ali
+lib/florist/posix_process_identification.ads
+lib/florist/posix_process_identification.ali
+lib/florist/posix_process_primitives.ads
+lib/florist/posix_process_scheduling.ads
+lib/florist/posix_process_scheduling.ali
+lib/florist/posix_process_times.ads
+lib/florist/posix_process_times.ali
+lib/florist/posix_semaphores.ads
+lib/florist/posix_semaphores.ali
+lib/florist/posix_shared_memory_objects.ads
+lib/florist/posix_shared_memory_objects.ali
+lib/florist/posix_signals.ads
+lib/florist/posix_supplement_to_ada_io.ads
+lib/florist/posix_supplement_to_ada_io.ali
+lib/florist/posix_terminal_functions.ads
+lib/florist/posix_terminal_functions.ali
+lib/florist/posix_timers.ads
+lib/florist/posix_unsafe_process_primitives.ads
+lib/florist/posix_unsafe_process_primitives.ali
+lib/florist/posix_user_database.ads
+lib/florist/posix_user_database.ali
+lib/florist/system_storage_elements.ads
+lib/libflorist-3.15p.so
+lib/libflorist-3.15p.so.1
+lib/libflorist.a
+@dirrm lib/florist