aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-05 08:44:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-05 08:44:45 +0000
commit1cef6a66e83bfe2675b7108a089f2b8e9011c22c (patch)
tree39056a1a2953ab70d7cbff45aaf3733644ccaab0 /devel
parentaf72721dd3903081e17f2ac4410073f0b43d4812 (diff)
downloadports-1cef6a66e83bfe2675b7108a089f2b8e9011c22c.tar.gz
ports-1cef6a66e83bfe2675b7108a089f2b8e9011c22c.zip
FLORIST is an implementation of the IEEE Standards 1003.5: 1992, IEEE
STD 1003.5b: 1996, and parts of IEEE STD 1003.5c: 1998, also known as the POSIX Ada Bindings. WWW: http://libre.adacore.com/ PR: ports/107411 Submitted by: John Merryweather Cooper
Notes
Notes: svn path=/head/; revision=181491
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/florist-gpl/Makefile38
-rw-r--r--devel/florist-gpl/distinfo3
-rw-r--r--devel/florist-gpl/files/patch-Makefile.in50
-rw-r--r--devel/florist-gpl/files/patch-c-posix.c11
-rw-r--r--devel/florist-gpl/pkg-descr5
-rw-r--r--devel/florist-gpl/pkg-plist195
7 files changed, 303 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5585e27fa79c..f4a223438724 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -298,6 +298,7 @@
SUBDIR += flatzebra
SUBDIR += flick
SUBDIR += florist
+ SUBDIR += florist-gpl
SUBDIR += flowdesigner
SUBDIR += flyspray
SUBDIR += fnccheck
diff --git a/devel/florist-gpl/Makefile b/devel/florist-gpl/Makefile
new file mode 100644
index 000000000000..6938afc3dc34
--- /dev/null
+++ b/devel/florist-gpl/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: florist-gpl
+# Date created: 31 Dec 2006
+# Whom: John Merryweather Cooper
+#
+# $FreeBSD$
+#
+
+PORTNAME= florist-gpl
+PORTVERSION= 2006
+CATEGORIES= devel
+MASTER_SITES= http://libre.adacore.com/
+EXTRACT_SUFX= -src.tgz
+
+MAINTAINER= john_m_cooper@yahoo.com
+COMMENT= The POSIX Ada Binding
+
+BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat
+
+GNU_CONFIGURE= yes
+CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ LIBS="${PTHREAD_LIBS}"
+
+# Check for GNAT sources.
+.if !exists(${DISTDIR}/${DISTFILE}) && !defined(PACKAGE_BUILDING)
+ECHO_MSG= ${PRINTF}
+IGNORE=Because of licensing and registration restrictions, you must fetch\n \
+ the source distribution manually. Please access\n \
+ http://libre.adacore.com/\ with a web browser, register\n \
+ (It's free!) and log in. Download the source files:\n\n \
+ \t${DISTFILE}\n\n \
+ and place them in ${DISTDIR}\n
+ ${ECHO_MSG} ${IGNORE}
+.endif
+
+WRKSRC= ${WRKDIR}/florist-${PORTVERSION}-src
+
+.include <bsd.port.mk>
diff --git a/devel/florist-gpl/distinfo b/devel/florist-gpl/distinfo
new file mode 100644
index 000000000000..68ee5ea0678b
--- /dev/null
+++ b/devel/florist-gpl/distinfo
@@ -0,0 +1,3 @@
+MD5 (florist-gpl-2006-src.tgz) = 4d7f67449a0900a9ca7773969a91290b
+SHA256 (florist-gpl-2006-src.tgz) = eeebb679f0f9ae9ca6f247321b0c456cf9398a9169c3481ed90c50dde533f5f5
+SIZE (florist-gpl-2006-src.tgz) = 227279
diff --git a/devel/florist-gpl/files/patch-Makefile.in b/devel/florist-gpl/files/patch-Makefile.in
new file mode 100644
index 000000000000..9f1aaa5e9e51
--- /dev/null
+++ b/devel/florist-gpl/files/patch-Makefile.in
@@ -0,0 +1,50 @@
+--- Makefile.in.orig Mon Jan 1 17:25:08 2007
++++ Makefile.in Mon Jan 1 17:32:46 2007
+@@ -161,8 +161,8 @@
+ @echo "Creating libflorist.a in directory floristlib"
+ @if [ -d floristlib ]; then rm -rf floristlib; fi
+ mkdir floristlib
+- cp -p *.ads floristlib
+- cp -p *.adb floristlib
++ install -o root -g wheel -m 444 *.ads floristlib
++ install -o root -g wheel -m 444 *.adb floristlib
+ (tar cpf - *.o *.ali) | (cd floristlib; tar xpf -)
+ rm -f floristlib/$(DEPS).o floristlib/$(DEPS).ali
+ ar -r floristlib/libflorist.a floristlib/*.o
+@@ -175,9 +175,9 @@
+ # ---------
+ #
+ compile_tests:
+- cd tests; make tests
++ cd tests; gmake tests
+ run_tests:
+- cd tests; make run_tests
++ cd tests; gmake run_tests
+ #
+ # -----------------------------------
+ # Maintenance targets
+@@ -191,7 +191,7 @@
+ rm -rf floristlib
+ rm -f *.o *.ali a.out *# *~ $(EXECUTABLES) b_*.c b~*
+ rm -f $(C-POSIX_GENERATED) $(GNATPREP_SOURCES)
+- -make -C tests clean
++ -gmake -C tests clean
+
+ # remove all generated files, including configuration history
+ distclean:
+@@ -199,10 +199,12 @@
+ rm -rf floristlib
+ rm -f *.o *.ali a.out *# *~ $(EXECUTABLES) b_*.c b~*
+ rm -f $(GENERATED) $(GNATPREP_SOURCES)
+- -make -C tests clean
++ -gmake -C tests clean
+
+ # install floristlib
+ install: floristlib
+ mkdir -p $(PREFIX)/lib/gnat
+- cp -pr floristlib $(PREFIX)/floristlib
+- cp -p florist.gpr $(PREFIX)/lib/gnat
++ cp -pR floristlib $(PREFIX)/floristlib
++ chown -R root:wheel $(PREFIX)/floristlib
++ chmod -R 0444 $(PREFIX)/floristlib
++ install -o root -g wheel -m 444 florist.gpr $(PREFIX)/lib/gnat
diff --git a/devel/florist-gpl/files/patch-c-posix.c b/devel/florist-gpl/files/patch-c-posix.c
new file mode 100644
index 000000000000..f6716eefb18e
--- /dev/null
+++ b/devel/florist-gpl/files/patch-c-posix.c
@@ -0,0 +1,11 @@
+--- c-posix.c.orig Mon Jan 1 17:10:12 2007
++++ c-posix.c Mon Jan 1 17:12:03 2007
+@@ -3049,7 +3049,7 @@
+ gheader("POSIX", IEEE_Header);
+ ifprintf(fp,"with Ada_Streams;\n");
+ ifprintf(fp,"with Interfaces;\n");
+- ifprintf(fp,"package POSIX is\n\n");
++ ifprintf(fp,"package POSIX is\n");
+
+ #ifdef LIBS
+ /* Generate one pragma Linker_Options per library */
diff --git a/devel/florist-gpl/pkg-descr b/devel/florist-gpl/pkg-descr
new file mode 100644
index 000000000000..667bbff4109e
--- /dev/null
+++ b/devel/florist-gpl/pkg-descr
@@ -0,0 +1,5 @@
+FLORIST is an implementation of the IEEE Standards 1003.5: 1992, IEEE
+STD 1003.5b: 1996, and parts of IEEE STD 1003.5c: 1998, also known as
+the POSIX Ada Bindings.
+
+WWW: http://libre.adacore.com/
diff --git a/devel/florist-gpl/pkg-plist b/devel/florist-gpl/pkg-plist
new file mode 100644
index 000000000000..7452826ac85e
--- /dev/null
+++ b/devel/florist-gpl/pkg-plist
@@ -0,0 +1,195 @@
+floristlib/ada_streams.ads
+floristlib/ada_streams.ali
+floristlib/ada_task_identification.ads
+floristlib/ada_task_identification.ali
+floristlib/deps.adb
+floristlib/deps.ads
+floristlib/deps_no_thread.adb
+floristlib/libflorist.a
+floristlib/posix-asynchronous_io.adb
+floristlib/posix-asynchronous_io.ads
+floristlib/posix-asynchronous_io.ali
+floristlib/posix-c.adb
+floristlib/posix-c.ads
+floristlib/posix-c.ali
+floristlib/posix-calendar.adb
+floristlib/posix-calendar.ads
+floristlib/posix-calendar.ali
+floristlib/posix-condition_variables.adb
+floristlib/posix-condition_variables.ads
+floristlib/posix-condition_variables.ali
+floristlib/posix-configurable_file_limits.adb
+floristlib/posix-configurable_file_limits.ads
+floristlib/posix-configurable_file_limits.ali
+floristlib/posix-configurable_system_limits.adb
+floristlib/posix-configurable_system_limits.ads
+floristlib/posix-configurable_system_limits.ali
+floristlib/posix-error_codes.ads
+floristlib/posix-file_locking.adb
+floristlib/posix-file_locking.ads
+floristlib/posix-file_locking.ali
+floristlib/posix-file_status.adb
+floristlib/posix-file_status.ads
+floristlib/posix-file_status.ali
+floristlib/posix-files.adb
+floristlib/posix-files.ads
+floristlib/posix-files.ali
+floristlib/posix-generic_shared_memory.adb
+floristlib/posix-generic_shared_memory.ads
+floristlib/posix-generic_shared_memory.ali
+floristlib/posix-group_database.adb
+floristlib/posix-group_database.ads
+floristlib/posix-group_database.ali
+floristlib/posix-implementation-ok_signals.ads
+floristlib/posix-implementation-ok_signals.ali
+floristlib/posix-implementation.adb
+floristlib/posix-implementation.ads
+floristlib/posix-implementation.ali
+floristlib/posix-io.adb
+floristlib/posix-io.ads
+floristlib/posix-io.ali
+floristlib/posix-limits.ads
+floristlib/posix-limits.ali
+floristlib/posix-memory_locking.adb
+floristlib/posix-memory_locking.ads
+floristlib/posix-memory_locking.ali
+floristlib/posix-memory_mapping.adb
+floristlib/posix-memory_mapping.ads
+floristlib/posix-memory_mapping.ali
+floristlib/posix-memory_range_locking.adb
+floristlib/posix-memory_range_locking.ads
+floristlib/posix-memory_range_locking.ali
+floristlib/posix-message_queues.adb
+floristlib/posix-message_queues.ads
+floristlib/posix-message_queues.ali
+floristlib/posix-mutexes.adb
+floristlib/posix-mutexes.ads
+floristlib/posix-mutexes.ali
+floristlib/posix-options.ads
+floristlib/posix-options.ali
+floristlib/posix-page_alignment.adb
+floristlib/posix-page_alignment.ads
+floristlib/posix-page_alignment.ali
+floristlib/posix-permissions-implementation.adb
+floristlib/posix-permissions-implementation.ads
+floristlib/posix-permissions-implementation.ali
+floristlib/posix-permissions.adb
+floristlib/posix-permissions.ads
+floristlib/posix-permissions.ali
+floristlib/posix-process_environment.adb
+floristlib/posix-process_environment.ads
+floristlib/posix-process_environment.ali
+floristlib/posix-process_identification.adb
+floristlib/posix-process_identification.ads
+floristlib/posix-process_identification.ali
+floristlib/posix-process_primitives.adb
+floristlib/posix-process_primitives.ads
+floristlib/posix-process_primitives.ali
+floristlib/posix-process_scheduling.adb
+floristlib/posix-process_scheduling.ads
+floristlib/posix-process_scheduling.ali
+floristlib/posix-process_times.adb
+floristlib/posix-process_times.ads
+floristlib/posix-process_times.ali
+floristlib/posix-semaphores.adb
+floristlib/posix-semaphores.ads
+floristlib/posix-semaphores.ali
+floristlib/posix-shared_memory_objects.adb
+floristlib/posix-shared_memory_objects.ads
+floristlib/posix-shared_memory_objects.ali
+floristlib/posix-signals.adb
+floristlib/posix-signals.ads
+floristlib/posix-signals.ali
+floristlib/posix-supplement_to_ada_io.adb
+floristlib/posix-supplement_to_ada_io.ads
+floristlib/posix-supplement_to_ada_io.ali
+floristlib/posix-terminal_functions.adb
+floristlib/posix-terminal_functions.ads
+floristlib/posix-terminal_functions.ali
+floristlib/posix-timers-extensions.adb
+floristlib/posix-timers-extensions.ads
+floristlib/posix-timers-extensions.ali
+floristlib/posix-timers.adb
+floristlib/posix-timers.ads
+floristlib/posix-timers.ali
+floristlib/posix-unsafe_process_primitives.adb
+floristlib/posix-unsafe_process_primitives.ads
+floristlib/posix-unsafe_process_primitives.ali
+floristlib/posix-user_database.adb
+floristlib/posix-user_database.ads
+floristlib/posix-user_database.ali
+floristlib/posix.adb
+floristlib/posix.ads
+floristlib/posix.ali
+floristlib/posix_asynchronous_io.ads
+floristlib/posix_asynchronous_io.ali
+floristlib/posix_c.ads
+floristlib/posix_calendar.ads
+floristlib/posix_calendar.ali
+floristlib/posix_condition_variables.ads
+floristlib/posix_condition_variables.ali
+floristlib/posix_configurable_file_limits.ads
+floristlib/posix_configurable_file_limits.ali
+floristlib/posix_configurable_system_limits.ads
+floristlib/posix_configurable_system_limits.ali
+floristlib/posix_error_codes.ads
+floristlib/posix_file_locking.ads
+floristlib/posix_file_locking.ali
+floristlib/posix_file_status.ads
+floristlib/posix_file_status.ali
+floristlib/posix_files.ads
+floristlib/posix_files.ali
+floristlib/posix_generic_shared_memory.ads
+floristlib/posix_generic_shared_memory.ali
+floristlib/posix_group_database.ads
+floristlib/posix_group_database.ali
+floristlib/posix_io.ads
+floristlib/posix_io.ali
+floristlib/posix_limits.ads
+floristlib/posix_limits.ali
+floristlib/posix_memory_locking.ads
+floristlib/posix_memory_locking.ali
+floristlib/posix_memory_mapping.ads
+floristlib/posix_memory_mapping.ali
+floristlib/posix_memory_range_locking.ads
+floristlib/posix_memory_range_locking.ali
+floristlib/posix_message_queues.ads
+floristlib/posix_message_queues.ali
+floristlib/posix_mutexes.ads
+floristlib/posix_mutexes.ali
+floristlib/posix_options.ads
+floristlib/posix_options.ali
+floristlib/posix_page_alignment.ads
+floristlib/posix_page_alignment.ali
+floristlib/posix_permissions.ads
+floristlib/posix_permissions.ali
+floristlib/posix_process_environment.ads
+floristlib/posix_process_environment.ali
+floristlib/posix_process_identification.ads
+floristlib/posix_process_identification.ali
+floristlib/posix_process_primitives.ads
+floristlib/posix_process_primitives.ali
+floristlib/posix_process_scheduling.ads
+floristlib/posix_process_scheduling.ali
+floristlib/posix_process_times.ads
+floristlib/posix_process_times.ali
+floristlib/posix_semaphores.ads
+floristlib/posix_semaphores.ali
+floristlib/posix_shared_memory_objects.ads
+floristlib/posix_shared_memory_objects.ali
+floristlib/posix_signals.ads
+floristlib/posix_signals.ali
+floristlib/posix_supplement_to_ada_io.ads
+floristlib/posix_supplement_to_ada_io.ali
+floristlib/posix_terminal_functions.ads
+floristlib/posix_terminal_functions.ali
+floristlib/posix_timers.ads
+floristlib/posix_timers.ali
+floristlib/posix_unsafe_process_primitives.ads
+floristlib/posix_unsafe_process_primitives.ali
+floristlib/posix_user_database.ads
+floristlib/posix_user_database.ali
+floristlib/system_storage_elements.ads
+lib/gnat/florist.gpr
+@dirrm lib/gnat
+@dirrm floristlib