Ticket #11538: patch-ncurses-Portfile

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

add "devel" variant

Line 
1--- Portfile.org        2007-03-01 13:33:21.000000000 +0300
2+++ Portfile    2007-03-12 05:09:04.000000000 +0300
3@@ -3,8 +3,7 @@
4 PortSystem 1.0
5 
6 name            ncurses
7-version         5.5
8-revision        1
9+version         5.6
10 categories      devel
11 platforms       darwin
12 maintainers     imajes@macports.org
13@@ -18,12 +17,15 @@
14 
15 homepage        http://www.gnu.org/software/ncurses/ncurses.html
16 master_sites    gnu
17-checksums       md5 e73c1ac10b4bfc46db43b2ddfd6244ef
18+checksums       ${distfiles} md5 b6593abe1089d6aab1551c105c9300e3
19+
20+patchfiles      patch-configure
21 
22 # required for terminfo
23 depends_run     port:ncursesw
24 
25 configure.args  --with-shared \
26+                --disable-rpath \
27                 --without-debug  \
28                 --without-ada \
29                 --enable-safe-sprintf \
30@@ -41,3 +43,12 @@
31                             CPP=/usr/bin/cpp-4.0 \
32                             CXX=/usr/bin/g++-4.0
33 }
34+
35+variant devel  {
36+       configure.args-append   --disable-relink
37+       patch_sites             ftp://invisible-island.net/ncurses/${version}
38+       patch.args              -p1
39+       patchfiles-delete       patch-configure
40+       patchfiles-append       ncurses-5.6-20070303-patch.sh.bz2 patch-mk-1st.awk
41+       checksums-append        ncurses-5.6-20070303-patch.sh.bz2 md5 8d3f8d5a55baa9b1feb163d152ce67f8
42+}