[113080] trunk/dports/lang/lua/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 7 19:09:30 PST 2013
Revision: 113080
https://trac.macports.org/changeset/113080
Author: ryandesign at macports.org
Date: 2013-11-07 19:09:30 -0800 (Thu, 07 Nov 2013)
Log Message:
-----------
lua: change tabs to spaces; add modeline
Modified Paths:
--------------
trunk/dports/lang/lua/Portfile
Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2013-11-08 03:09:06 UTC (rev 113079)
+++ trunk/dports/lang/lua/Portfile 2013-11-08 03:09:30 UTC (rev 113080)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -21,7 +22,7 @@
master_sites ${homepage}/ftp/
checksums ${distfiles} \
- sha1 0857e41e5579726a4cb96732e80d7aa47165eaf5 \
+ sha1 0857e41e5579726a4cb96732e80d7aa47165eaf5 \
rmd160 d17967150017e9b25a26c1ad527647cd0b9e598f
depends_lib port:readline
@@ -33,9 +34,9 @@
patchfiles patch-COPYRIGHT.diff \
patch-Makefile.diff \
patch-src_Makefile.diff \
- patch-lua-${version}.pc.diff
+ patch-lua-${version}.pc.diff
-patch.args -f
+patch.args -f
post-patch {
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/luaconf.h
@@ -44,7 +45,7 @@
# reinplace %VERSION% and %COMPAT_VERSION% after applying patch-dlopen.diff
reinplace "s|%VERSION%|${version}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/Makefile
reinplace "s|%COMPAT_VERSION%|${compat_version}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/Makefile
-
+
# reinplace %PREFIX% to fix @executable_path, cf. ticket no. 28726
reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/src/Makefile
}
@@ -53,7 +54,7 @@
reinplace -E "/^MYLDFLAGS=/s|\$| ${configure.ldflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile
reinplace -E "/^CFLAGS=/s|\$| ${configure.cflags} ${configure.cppflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile
reinplace "s|CC= .*\$|CC= ${configure.cc}|" ${worksrcpath}/src/Makefile
- reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/lua-${version}.pc
+ reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/lua-${version}.pc
}
use_parallel_build no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131107/d60a0eb3/attachment.html>
More information about the macports-changes
mailing list