diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-06-19 20:05:24 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-06-19 20:05:24 +0000 |
commit | 3d3869196a7becafe4b1871ddf19e45ab5dd583c (patch) | |
tree | 2f2bf51f90240d0a30b0e6c6f9ea151dfc2bcf09 /devel/adacurses | |
parent | add ssed 3.58 (diff) |
Add devel/adacurses, ncurses bindings for the Ada language (lang/gnat).
Diffstat (limited to 'devel/adacurses')
-rw-r--r-- | devel/adacurses/Makefile | 37 | ||||
-rw-r--r-- | devel/adacurses/distinfo | 1 | ||||
-rw-r--r-- | devel/adacurses/files/adacurses-config | 32 | ||||
-rw-r--r-- | devel/adacurses/pkg-comment | 1 | ||||
-rw-r--r-- | devel/adacurses/pkg-descr | 1 | ||||
-rw-r--r-- | devel/adacurses/pkg-plist | 98 |
6 files changed, 170 insertions, 0 deletions
diff --git a/devel/adacurses/Makefile b/devel/adacurses/Makefile new file mode 100644 index 000000000000..8eb31d3efda9 --- /dev/null +++ b/devel/adacurses/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: adacurses +# Date created: 19 June 2002 +# Whom: olgeni@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= adacurses +PORTVERSION= 5.2 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ncurses +DISTNAME= ncurses-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= gnat:${PORTSDIR}/lang/gnat + +.include <bsd.port.pre.mk> + +USE_LIBTOOL= yes +USE_GMAKE= yes +CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \ + --disable-termcap --includedir=${PREFIX}/include/ncurses \ + --with-profile --with-shared --without-debug \ + --without-curses-h --with-termlib --with-libtool +CONFIGURE_ENV= ac_cv_path_LDCONFIG="${LDCONFIG} -m ${PREFIX}/lib" + +do-install: + ${MKDIR} ${PREFIX}/lib/adacurses + ${CP} ${WRKSRC}/Ada95/src/*.ads ${PREFIX}/lib/adacurses + ${CP} ${WRKSRC}/Ada95/src/*.ali ${PREFIX}/lib/adacurses + ${CP} ${WRKSRC}/Ada95/src/*.adb ${PREFIX}/lib/adacurses + ${CP} ${WRKSRC}/Ada95/src/*.a ${PREFIX}/lib/adacurses + ${INSTALL_SCRIPT} ${FILESDIR}/adacurses-config ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/devel/adacurses/distinfo b/devel/adacurses/distinfo new file mode 100644 index 000000000000..8345dc432503 --- /dev/null +++ b/devel/adacurses/distinfo @@ -0,0 +1 @@ +MD5 (ncurses-5.2.tar.gz) = 464d6a49010cf2a6eb9ce59a264d4d47 diff --git a/devel/adacurses/files/adacurses-config b/devel/adacurses/files/adacurses-config new file mode 100644 index 000000000000..71f0dfdbe2a6 --- /dev/null +++ b/devel/adacurses/files/adacurses-config @@ -0,0 +1,32 @@ +#! /bin/sh +# +# This script will return the option to add to `gnatmake' for using +# AdaCurses. +# + +prefix=/usr/local +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +VERSION=5.2 + +CFLAGS="-I$libdir/adacurses -L$libdir/adacurses" +LIBS="-L$prefix/lib -lAdaCurses" + +case "x$1" in + x--version) + echo AdaCurses $VERSION + ;; + x--cflags) + echo $CFLAGS + ;; + x--libs) + echo $LIBS + ;; + x) + echo $CFLAGS -largs $LIBS + ;; + *) + echo 'Usage: adacurses-config [--version | --cflags | --libs]' >&2 + exit 1 + ;; +esac diff --git a/devel/adacurses/pkg-comment b/devel/adacurses/pkg-comment new file mode 100644 index 000000000000..b5bfb0629f21 --- /dev/null +++ b/devel/adacurses/pkg-comment @@ -0,0 +1 @@ +Curses library for Ada diff --git a/devel/adacurses/pkg-descr b/devel/adacurses/pkg-descr new file mode 100644 index 000000000000..1f1dd342435c --- /dev/null +++ b/devel/adacurses/pkg-descr @@ -0,0 +1 @@ +Ada95 bindings for ncurses. diff --git a/devel/adacurses/pkg-plist b/devel/adacurses/pkg-plist new file mode 100644 index 000000000000..5b87a0fbc69a --- /dev/null +++ b/devel/adacurses/pkg-plist @@ -0,0 +1,98 @@ +bin/adacurses-config +lib/adacurses/libAdaCurses.a +lib/adacurses/terminal_interface-curses-aux.adb +lib/adacurses/terminal_interface-curses-aux.ads +lib/adacurses/terminal_interface-curses-aux.ali +lib/adacurses/terminal_interface-curses-forms-field_types-alpha.adb +lib/adacurses/terminal_interface-curses-forms-field_types-alpha.ads +lib/adacurses/terminal_interface-curses-forms-field_types-alpha.ali +lib/adacurses/terminal_interface-curses-forms-field_types-alphanumeric.adb +lib/adacurses/terminal_interface-curses-forms-field_types-alphanumeric.ads +lib/adacurses/terminal_interface-curses-forms-field_types-alphanumeric.ali +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration-ada.adb +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration-ada.ads +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration-ada.ali +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration.adb +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration.ads +lib/adacurses/terminal_interface-curses-forms-field_types-enumeration.ali +lib/adacurses/terminal_interface-curses-forms-field_types-intfield.adb +lib/adacurses/terminal_interface-curses-forms-field_types-intfield.ads +lib/adacurses/terminal_interface-curses-forms-field_types-intfield.ali +lib/adacurses/terminal_interface-curses-forms-field_types-ipv4_address.adb +lib/adacurses/terminal_interface-curses-forms-field_types-ipv4_address.ads +lib/adacurses/terminal_interface-curses-forms-field_types-ipv4_address.ali +lib/adacurses/terminal_interface-curses-forms-field_types-numeric.adb +lib/adacurses/terminal_interface-curses-forms-field_types-numeric.ads +lib/adacurses/terminal_interface-curses-forms-field_types-numeric.ali +lib/adacurses/terminal_interface-curses-forms-field_types-regexp.adb +lib/adacurses/terminal_interface-curses-forms-field_types-regexp.ads +lib/adacurses/terminal_interface-curses-forms-field_types-regexp.ali +lib/adacurses/terminal_interface-curses-forms-field_types-user-choice.adb +lib/adacurses/terminal_interface-curses-forms-field_types-user-choice.ads +lib/adacurses/terminal_interface-curses-forms-field_types-user-choice.ali +lib/adacurses/terminal_interface-curses-forms-field_types-user.adb +lib/adacurses/terminal_interface-curses-forms-field_types-user.ads +lib/adacurses/terminal_interface-curses-forms-field_types-user.ali +lib/adacurses/terminal_interface-curses-forms-field_types.adb +lib/adacurses/terminal_interface-curses-forms-field_types.ads +lib/adacurses/terminal_interface-curses-forms-field_types.ali +lib/adacurses/terminal_interface-curses-forms-field_user_data.adb +lib/adacurses/terminal_interface-curses-forms-field_user_data.ads +lib/adacurses/terminal_interface-curses-forms-field_user_data.ali +lib/adacurses/terminal_interface-curses-forms-form_user_data.adb +lib/adacurses/terminal_interface-curses-forms-form_user_data.ads +lib/adacurses/terminal_interface-curses-forms-form_user_data.ali +lib/adacurses/terminal_interface-curses-forms.adb +lib/adacurses/terminal_interface-curses-forms.ads +lib/adacurses/terminal_interface-curses-forms.ali +lib/adacurses/terminal_interface-curses-menus-item_user_data.adb +lib/adacurses/terminal_interface-curses-menus-item_user_data.ads +lib/adacurses/terminal_interface-curses-menus-item_user_data.ali +lib/adacurses/terminal_interface-curses-menus-menu_user_data.adb +lib/adacurses/terminal_interface-curses-menus-menu_user_data.ads +lib/adacurses/terminal_interface-curses-menus-menu_user_data.ali +lib/adacurses/terminal_interface-curses-menus.adb +lib/adacurses/terminal_interface-curses-menus.ads +lib/adacurses/terminal_interface-curses-menus.ali +lib/adacurses/terminal_interface-curses-mouse.adb +lib/adacurses/terminal_interface-curses-mouse.ads +lib/adacurses/terminal_interface-curses-mouse.ali +lib/adacurses/terminal_interface-curses-panels-user_data.adb +lib/adacurses/terminal_interface-curses-panels-user_data.ads +lib/adacurses/terminal_interface-curses-panels-user_data.ali +lib/adacurses/terminal_interface-curses-panels.adb +lib/adacurses/terminal_interface-curses-panels.ads +lib/adacurses/terminal_interface-curses-panels.ali +lib/adacurses/terminal_interface-curses-text_io-aux.adb +lib/adacurses/terminal_interface-curses-text_io-aux.ads +lib/adacurses/terminal_interface-curses-text_io-aux.ali +lib/adacurses/terminal_interface-curses-text_io-complex_io.adb +lib/adacurses/terminal_interface-curses-text_io-complex_io.ads +lib/adacurses/terminal_interface-curses-text_io-complex_io.ali +lib/adacurses/terminal_interface-curses-text_io-decimal_io.adb +lib/adacurses/terminal_interface-curses-text_io-decimal_io.ads +lib/adacurses/terminal_interface-curses-text_io-decimal_io.ali +lib/adacurses/terminal_interface-curses-text_io-enumeration_io.adb +lib/adacurses/terminal_interface-curses-text_io-enumeration_io.ads +lib/adacurses/terminal_interface-curses-text_io-enumeration_io.ali +lib/adacurses/terminal_interface-curses-text_io-fixed_io.adb +lib/adacurses/terminal_interface-curses-text_io-fixed_io.ads +lib/adacurses/terminal_interface-curses-text_io-fixed_io.ali +lib/adacurses/terminal_interface-curses-text_io-float_io.adb +lib/adacurses/terminal_interface-curses-text_io-float_io.ads +lib/adacurses/terminal_interface-curses-text_io-float_io.ali +lib/adacurses/terminal_interface-curses-text_io-integer_io.adb +lib/adacurses/terminal_interface-curses-text_io-integer_io.ads +lib/adacurses/terminal_interface-curses-text_io-integer_io.ali +lib/adacurses/terminal_interface-curses-text_io-modular_io.adb +lib/adacurses/terminal_interface-curses-text_io-modular_io.ads +lib/adacurses/terminal_interface-curses-text_io-modular_io.ali +lib/adacurses/terminal_interface-curses-text_io.adb +lib/adacurses/terminal_interface-curses-text_io.ads +lib/adacurses/terminal_interface-curses-text_io.ali +lib/adacurses/terminal_interface-curses.adb +lib/adacurses/terminal_interface-curses.ads +lib/adacurses/terminal_interface-curses.ali +lib/adacurses/terminal_interface.ads +lib/adacurses/terminal_interface.ali +@dirrm lib/adacurses |