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
This commit is contained in:
Martin Wilke 2007-01-05 08:44:45 +00:00
parent af72721dd3
commit 1cef6a66e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181491
7 changed files with 303 additions and 0 deletions

View file

@ -298,6 +298,7 @@
SUBDIR += flatzebra
SUBDIR += flick
SUBDIR += florist
SUBDIR += florist-gpl
SUBDIR += flowdesigner
SUBDIR += flyspray
SUBDIR += fnccheck

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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/

195
devel/florist-gpl/pkg-plist Normal file
View file

@ -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