[39500] trunk/dports/net/netwox/Portfile

jmr at macports.org jmr at macports.org
Fri Aug 22 04:21:03 PDT 2008


Revision: 39500
          http://trac.macosforge.org/projects/macports/changeset/39500
Author:   jmr at macports.org
Date:     2008-08-22 04:21:01 -0700 (Fri, 22 Aug 2008)
Log Message:
-----------
netwox: remove use of cd (#16366)

Modified Paths:
--------------
    trunk/dports/net/netwox/Portfile

Modified: trunk/dports/net/netwox/Portfile
===================================================================
--- trunk/dports/net/netwox/Portfile	2008-08-22 09:25:34 UTC (rev 39499)
+++ trunk/dports/net/netwox/Portfile	2008-08-22 11:21:01 UTC (rev 39500)
@@ -31,12 +31,11 @@
 worksrcdir	${distname}-src/src
 
 pre-configure	{
-		cd ${worksrcpath}
-		reinplace "s|/usr/local|${prefix}|g" config.dat
-		reinplace "s|\\(NETWOXDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
-		reinplace "s|\\(NETWOXDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
-		reinplace "s|man|share/man|g" config.dat
-		reinplace "s|share/man1|man1|g"	config.dat
+		reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.dat
+		reinplace "s|\\(NETWOXDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" ${worksrcpath}/config.dat
+		reinplace "s|\\(NETWOXDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" ${worksrcpath}/config.dat
+		reinplace "s|man|share/man|g" ${worksrcpath}/config.dat
+		reinplace "s|share/man1|man1|g"	${worksrcpath}/config.dat
 }
 
 configure.pre_args	{}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080822/4ac2219d/attachment.html 


More information about the macports-changes mailing list