Ticket #12605: patch-ncurses-Portfile

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

do not install headers and make libcurses symlink

Line 
1--- Portfile.org        2007-09-03 15:29:08.000000000 +0400
2+++ Portfile    2007-09-03 21:01:34.000000000 +0400
3@@ -33,11 +33,16 @@
4                 --enable-safe-sprintf \
5                 --enable-sigwinch \
6                 --without-progs \
7-                --mandir=${prefix}/share/delete-me
8+                --enable-overwrite \
9+                --enable-termcap \
10+                --mandir=${prefix}/share/delete-me \
11+                --includedir=${prefix}/include/delete-me
12 
13 post-destroot {
14-    # terminfo & manpages also do come with ncursesw
15-    delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share
16+    # terminfo & manpages & headers also do come with ncursesw
17+    delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share ${destroot}${prefix}/include
18+    # create libtermcap compatibility link
19+    ln -s libncursesw.5.dylib  ${destroot}${prefix}/lib/libtermcap.dylib
20 }
21 
22 platform darwin 8 {