[77592] trunk/dports/sysutils

ryandesign at macports.org ryandesign at macports.org
Tue Apr 5 15:12:14 PDT 2011


Revision: 77592
          http://trac.macports.org/changeset/77592
Author:   ryandesign at macports.org
Date:     2011-04-05 15:12:14 -0700 (Tue, 05 Apr 2011)
Log Message:
-----------
asprint: new port, version 0.5.0; see #29033

Added Paths:
-----------
    trunk/dports/sysutils/asprint/
    trunk/dports/sysutils/asprint/Portfile
    trunk/dports/sysutils/asprint/files/
    trunk/dports/sysutils/asprint/files/patch-Makefile.diff

Added: trunk/dports/sysutils/asprint/Portfile
===================================================================
--- trunk/dports/sysutils/asprint/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/asprint/Portfile	2011-04-05 22:12:14 UTC (rev 77592)
@@ -0,0 +1,54 @@
+# -*- 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                asprint
+version             0.5.0
+categories          sysutils
+platforms           darwin
+maintainers         perlhacker.org:sepp
+license             Apache-2.0
+
+description         prints out the contents of a compiled AppleScript file
+
+long_description    ${name} is a command-line program that pretty-prints the \
+                    contents of compiled AppleScript (.scpt) files using \
+                    ANSI escape sequences.
+
+homepage            http://hasseg.org/asprint/
+fetch.type          git
+git.url             http://hasseg.org/git-public/asprint.git
+git.branch          89398c852a26fca0fb8696b9bfc0c61a3caeb16e
+
+platform darwin 8 {
+    pre-fetch {
+        ui_error "${name} requires Mac OS X 10.5 or greater."
+        return -code error "incompatible Mac OS X version"
+    }
+}
+
+patchfiles          patch-Makefile.diff
+
+use_configure       no
+
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cflags}
+} else {
+    set archflags ${configure.cc_archflags}
+}
+
+build.args          COMPILER="${configure.cc} ${archflags}"
+build.target-append ${name}.1
+
+destroot {
+    xinstall -m 755 -W ${worksrcpath} asprint ${destroot}${prefix}/bin
+    xinstall -m 644 -W ${worksrcpath} asprint.1 ${destroot}${prefix}/share/man/man1
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath}/deployment-files readme.txt ${docdir}
+}
+
+livecheck.type      regex
+livecheck.regex     ${name}-v(\[0-9.\]+)\\.


Property changes on: trunk/dports/sysutils/asprint/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/sysutils/asprint/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/asprint/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/sysutils/asprint/files/patch-Makefile.diff	2011-04-05 22:12:14 UTC (rev 77592)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2011-04-05 16:56:48.000000000 -0500
++++ Makefile	2011-04-05 17:01:09.000000000 -0500
+@@ -39,7 +39,7 @@
+ 	@echo
+ 	@echo ---- Compiling:
+ 	@echo ======================================
+-	$(COMPILER) -O2 -Wall -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch i386 -arch ppc -framework Cocoa -o $@ asprint.m ANSIEscapeHelper.m
++	$(COMPILER) -O2 -Wall -force_cpusubtype_ALL -framework Cocoa -o $@ asprint.m ANSIEscapeHelper.m
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110405/47a513f6/attachment.html>


More information about the macports-changes mailing list