[139991] trunk/dports/lang

takeshi at macports.org takeshi at macports.org
Sat Sep 5 07:39:37 PDT 2015


Revision: 139991
          https://trac.macports.org/changeset/139991
Author:   takeshi at macports.org
Date:     2015-09-05 07:39:36 -0700 (Sat, 05 Sep 2015)
Log Message:
-----------
fpc: add to MacPorts

Added Paths:
-----------
    trunk/dports/lang/fpc/
    trunk/dports/lang/fpc/Portfile

Added: trunk/dports/lang/fpc/Portfile
===================================================================
--- trunk/dports/lang/fpc/Portfile	                        (rev 0)
+++ trunk/dports/lang/fpc/Portfile	2015-09-05 14:39:36 UTC (rev 139991)
@@ -0,0 +1,48 @@
+# -*- 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
+
+name                fpc
+version             2.6.4
+categories          lang
+platforms           darwin
+license             GPL-3 LGPL
+maintainers         takeshi openmaintainers
+description         free pascal
+long_description    Open source compiler for Pascal and Object Pascal
+homepage            http://www.freepascal.org
+master_sites        sourceforge:freepascal
+distfiles           ${name}-${version}.source.tar.gz \
+                    universal-macosx-10.5-ppcuniversal.tar.bz2
+
+checksums           [lindex ${distfiles} 0] \
+                    rmd160  35a00ed483805408ed39b1c07147c660ceb5420e \
+                    sha256  c16f2e6e0274c7afc0f1d2dded22d0fec98fe329b1d5b2f011af1655f3a1cc29 \
+                    [lindex ${distfiles} 1] \
+                    rmd160  0124c2f4447ba7f96e3db0a27e6bff459c5749f4 \
+                    sha256  e7243e83e6a04de147ebab7530754ec92cd1fbabbc9b6b00a3f90a796312f3e9
+                    
+use_configure       no
+universal_variant   no
+
+build.env           PP=${workpath}/ppcuniversal \
+                    PREFIX=${destroot}${prefix}/libexec/${name}
+build.target        all
+
+destroot.env        ${build.env}
+
+if {${os.major} > 13} {
+    build.args      MACOSX_DEPLOYMENT_TARGET='10.9'
+    destroot.args   ${build.args}
+}
+
+post-destroot {
+    ln -s ${prefix}/libexec/${name}/lib/${name}/${version}/ppcx64 ${destroot}${prefix}/libexec/${name}/bin
+    xinstall -d ${destroot}${prefix}/libexec/${name}/etc
+    system "
+        ${destroot}${prefix}/libexec/${name}/bin/fpcmkcfg \
+            -d basepath=${prefix}/libexec/${name}/lib/${name}/${version} \
+            -o ${destroot}${prefix}/libexec/${name}/etc/fpc.cfg
+    "
+}


Property changes on: trunk/dports/lang/fpc/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150905/ced61866/attachment.html>


More information about the macports-changes mailing list