[62350] trunk/dports/sysutils/screen/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jan 4 16:28:12 PST 2010


Revision: 62350
          http://trac.macports.org/changeset/62350
Author:   ryandesign at macports.org
Date:     2010-01-04 16:28:11 -0800 (Mon, 04 Jan 2010)
Log Message:
-----------
screen: workpath/distname is more simply known as worksrcpath, and you don't need a slash before prefix.

Modified Paths:
--------------
    trunk/dports/sysutils/screen/Portfile

Modified: trunk/dports/sysutils/screen/Portfile
===================================================================
--- trunk/dports/sysutils/screen/Portfile	2010-01-05 00:22:05 UTC (rev 62349)
+++ trunk/dports/sysutils/screen/Portfile	2010-01-05 00:28:11 UTC (rev 62350)
@@ -42,10 +42,10 @@
 configure.env   LIBS=-lncurses
 
 post-destroot {
-    xinstall -m 644 ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings
-    xinstall -m 644 ${workpath}/${distname}/etc/etcscreenrc ${destroot}/${prefix}/etc/screenrc
-    xinstall -m 644 ${workpath}/${distname}/terminfo/screencap ${destroot}/${prefix}/etc/termcap
-    system "tic ${workpath}/${distname}/terminfo/screeninfo.src"
+    xinstall -m 644 ${workpath}/18 ${destroot}${prefix}/share/${name}/utf8encodings
+    xinstall -m 644 ${worksrcpath}/etc/etcscreenrc ${destroot}${prefix}/etc/screenrc
+    xinstall -m 644 ${worksrcpath}/terminfo/screencap ${destroot}${prefix}/etc/termcap
+    system "tic ${worksrcpath}/terminfo/screeninfo.src"
 }
 
 platform darwin 8 {
@@ -54,7 +54,7 @@
 
 platform darwin 9 {
     post-patch {
-        reinplace s|^deflogin|#deflogin| ${workpath}/${distname}/etc/etcscreenrc
+        reinplace s|^deflogin|#deflogin| ${worksrcpath}/etc/etcscreenrc
     }
 
     # These patches are based on http://www.opensource.apple.com/darwinsource/10.5.6/screen-12/patches/
@@ -63,7 +63,7 @@
     master_sites-append http://www.cis.nctu.edu.tw/~is85005/dports/screen/r23776/:launchd_priv_header
     distfiles-append    vproc_priv.h:launchd_priv_header
     checksums-append    vproc_priv.h md5 50800817fa688e7e6ae379cd599f15ca
-    post-extract        { file copy ${distpath}/vproc_priv.h ${workpath}/${distname} }
+    post-extract        { file copy ${distpath}/vproc_priv.h ${worksrcpath} }
     patchfiles-append   patch-Makefile.in patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c
 }
 
@@ -74,7 +74,7 @@
     master_sites-append http://www.cis.nctu.edu.tw/~is85005/dports/screen/r23776/:launchd_priv_header
     distfiles-append    vproc_priv.h:launchd_priv_header
     checksums-append    vproc_priv.h md5 50800817fa688e7e6ae379cd599f15ca
-    post-extract        { file copy ${distpath}/vproc_priv.h ${workpath}/${distname} }
+    post-extract        { file copy ${distpath}/vproc_priv.h ${worksrcpath} }
     patchfiles-append   patch-Makefile.in patch-config.h.in patch-configure patch-pty.c patch-window.c patch-screen.c patch-process.c
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100104/43cbc13a/attachment.html>


More information about the macports-changes mailing list