Ticket #11538: patch-ncursesw-Portfile

File patch-ncursesw-Portfile, 1.1 KB (added by master@…, 17 years ago)

add "devel" variant to ncursesw

Line 
1--- Portfile.org        2007-02-27 12:33:14.000000000 +0300
2+++ Portfile    2007-03-11 21:00:41.000000000 +0300
3@@ -3,7 +3,7 @@
4 PortSystem 1.0
5 
6 name                   ncursesw
7-version                        5.5
8+version                        5.6
9 categories             devel
10 platforms              darwin
11 maintainers            imajes@macports.org
12@@ -19,9 +19,12 @@
13 master_sites           gnu:ncurses
14 distname               ncurses-${version}
15 dist_subdir            ncurses
16-checksums              md5 e73c1ac10b4bfc46db43b2ddfd6244ef
17+checksums              ${distfiles} md5 b6593abe1089d6aab1551c105c9300e3
18+
19+patchfiles             patch-configure
20 
21 configure.args --enable-widec \
22+                               --disable-rpath \
23                                --with-shared \
24                                --without-debug  \
25                                --without-ada \
26@@ -32,3 +35,12 @@
27 platform darwin 8 {
28        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
29 }
30+
31+variant devel  {
32+       configure.args-append   --disable-relink
33+       patch_sites             ftp://invisible-island.net/ncurses/${version}
34+       patch.args              -p1
35+       patchfiles-delete       patch-configure
36+       patchfiles-append       ncurses-5.6-20070303-patch.sh.bz2 patch-mk-1st.awk
37+       checksums-append        ncurses-5.6-20070303-patch.sh.bz2 md5 8d3f8d5a55baa9b1feb163d152ce67f8
38+}