| 1 | GARNAME = ncurses |
|---|
| 2 | GARVERSION = 5.7 |
|---|
| 3 | CATEGORIES = lib |
|---|
| 4 | |
|---|
| 5 | DESCRIPTION = ncurses library and utilities |
|---|
| 6 | define BLURB |
|---|
| 7 | The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 and more. It uses terminfo forma |
|---|
| 8 | t, supports pads and color and multiple highlights and forms charcters and function-key mapping, and has all the other SYSV-curses enhan |
|---|
| 9 | cements over BSD curses. It should port easily to any ANSI/POSIX-conforming UNIX-like system. On systems supporting libiconv, the librar |
|---|
| 10 | y can be built to support wide- and multibyte-character applications, e.g., UTF-8. |
|---|
| 11 | endef |
|---|
| 12 | |
|---|
| 13 | MASTER_SITES = $(GNU_MIRROR) |
|---|
| 14 | DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz |
|---|
| 15 | DISTFILES += $(call admfiles,CSWncurses) |
|---|
| 16 | |
|---|
| 17 | PATCHFILES = patch-xcode.diff |
|---|
| 18 | |
|---|
| 19 | SPKG_SOURCEURL = http://www.gnu.org/software/ncurses/ncurses.html |
|---|
| 20 | |
|---|
| 21 | BUILD64 = 1 |
|---|
| 22 | NO_ISAEXEC = 1 |
|---|
| 23 | RUNPATHQUOTE = 1 |
|---|
| 24 | |
|---|
| 25 | EXTRA_MODULATORS = WIDEC |
|---|
| 26 | MODULATIONS_WIDEC = disable enable |
|---|
| 27 | |
|---|
| 28 | EXTRA_CONFIGURE_WIDEC-disable = --disable-widec |
|---|
| 29 | EXTRA_CONFIGURE_WIDEC-enable = --enable-widec |
|---|
| 30 | |
|---|
| 31 | CONFIGURE_ARGS = --prefix=$(prefix) |
|---|
| 32 | CONFIGURE_ARGS += --bindir=$(bindir) |
|---|
| 33 | CONFIGURE_ARGS += --libdir=$(libdir) |
|---|
| 34 | CONFIGURE_ARGS += --mandir=$(mandir) |
|---|
| 35 | CONFIGURE_ARGS += --without-libtool |
|---|
| 36 | CONFIGURE_ARGS += --with-shared |
|---|
| 37 | CONFIGURE_ARGS += --disable-overwrite |
|---|
| 38 | CONFIGURE_ARGS += --without-ada |
|---|
| 39 | CONFIGURE_ARGS += $(EXTRA_CONFIGURE_WIDEC-$(WIDEC)) |
|---|
| 40 | |
|---|
| 41 | # Don't use capabilities HPA and VPA as Solaris xterm doesn't understand it. |
|---|
| 42 | # See for details |
|---|
| 43 | # <http://opencsw.org/bugtrack/view.php?id=2961> |
|---|
| 44 | # <http://opencsw.org/bugtrack/view.php?id=2942> |
|---|
| 45 | # <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6569261> |
|---|
| 46 | CONFIGURE_ARGS += --without-xterm-new |
|---|
| 47 | |
|---|
| 48 | MERGE_SCRIPTS_isa-sparcv8-widec-disable = copy-only copy-config-only |
|---|
| 49 | MERGE_DIRS_isa-sparcv8-widec-disable = $(libdir) |
|---|
| 50 | MERGE_SCRIPTS_isa-sparcv9-widec-disable = copy-relocated-only copy-config-only |
|---|
| 51 | MERGE_DIRS_isa-sparcv9-widec-disable = $(libdir) |
|---|
| 52 | |
|---|
| 53 | MERGE_SCRIPTS_isa-sparcv8-widec-enable = copy-all |
|---|
| 54 | MERGE_SCRIPTS_isa-sparcv9-widec-enable = copy-relocated-only copy-config-only |
|---|
| 55 | MERGE_DIRS_isa-sparcv9-widec-enable = $(libdir) |
|---|
| 56 | |
|---|
| 57 | MERGE_SCRIPTS_isa-i386-widec-disable = copy-only copy-config-only |
|---|
| 58 | MERGE_DIRS_isa-i386-widec-disable = $(libdir) |
|---|
| 59 | MERGE_SCRIPTS_isa-amd64-widec-disable = copy-relocated-only copy-config-only |
|---|
| 60 | MERGE_DIRS_isa-amd64-widec-disable = $(libdir) |
|---|
| 61 | |
|---|
| 62 | MERGE_SCRIPTS_isa-i386-widec-enable = copy-all |
|---|
| 63 | MERGE_SCRIPTS_isa-amd64-widec-enable = copy-relocated-only copy-config-only |
|---|
| 64 | MERGE_DIRS_isa-amd64-widec-enable = $(libdir) |
|---|
| 65 | |
|---|
| 66 | include gar/category.mk |
|---|
| 67 | |
|---|
| 68 | LDFLAGS := $(filter-out -L%,$(LDFLAGS)) |
|---|