[20762] trunk/dports/devel

source_changes at macosforge.org source_changes at macosforge.org
Sun Nov 26 09:44:31 PST 2006


Revision: 20762
          http://trac.macosforge.org/projects/macports/changeset/20762
Author:   pmq at macports.org
Date:     2006-11-26 09:44:31 -0800 (Sun, 26 Nov 2006)

Log Message:
-----------
Closes #10777. New port: astyle-1.19.
Submitted by: wyuenho at gmail.com
Approved by: pmq@

Added Paths:
-----------
    trunk/dports/devel/astyle/
    trunk/dports/devel/astyle/Portfile
    trunk/dports/devel/astyle/files/
    trunk/dports/devel/astyle/files/patch-Makefile

Added: trunk/dports/devel/astyle/Portfile
===================================================================
--- trunk/dports/devel/astyle/Portfile	                        (rev 0)
+++ trunk/dports/devel/astyle/Portfile	2006-11-26 17:44:31 UTC (rev 20762)
@@ -0,0 +1,43 @@
+# $Id$
+
+PortSystem        1.0
+
+name              astyle
+version           1.19
+categories        devel
+platforms         darwin
+maintainers       wyuenho at gmail.com
+
+description       source code beautifier for the C, C++, C# and Java programming
+long_description  Artistic Style is a source code indenter, source code formatter, \
+		  and source code beautifier for the C, C++, C# and Java \
+		  programming languages.
+
+homepage          http://astyle.sourceforge.net
+master_sites      sourceforge
+distname          ${name}_${version}_linux
+checksums         md5 2cd52822f39b9211846c4070999a492d
+
+worksrcdir        ${name}
+patchfiles        patch-Makefile
+
+post-extract {
+    set entries [glob ${worksrcpath}/src/*]
+    foreach entry ${entries} {
+        file attributes ${entry} -permissions u-x,g-wx,o-wx
+    }
+    set entries [glob ${worksrcpath}/doc/*]
+    foreach entry ${entries} {
+        file attributes ${entry} -permissions u-x,g-wx,o-wx
+    }
+}
+
+use_configure	no
+
+pre-build {
+    set worksrcdir ${worksrcdir}/src
+}
+
+destroot {
+    file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin
+}


Property changes on: trunk/dports/devel/astyle/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id

Added: trunk/dports/devel/astyle/files/patch-Makefile
===================================================================
--- trunk/dports/devel/astyle/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/devel/astyle/files/patch-Makefile	2006-11-26 17:44:31 UTC (rev 20762)
@@ -0,0 +1,22 @@
+--- src/Makefile	2006-09-25 03:28:31.000000000 -0400
++++ src/Makefile.patch	2006-09-25 03:29:30.000000000 -0400
+@@ -10,7 +10,7 @@
+ LDFLAGS =
+ else
+ CPPFLAGS = -DNDEBUG -O3 $(CPPBASEFLAGS)
+-LDFLAGS = -s
++LDFLAGS =
+ endif
+ 
+ astyle: $(OBJ)
+@@ -23,8 +23,7 @@
+ .PHONY: 
+ 	all clean
+ 
+-all:
+-	$(BIN)
++all: $(BIN)
+ 
+ clean:
+-	rm -f $(OBJ)
++	rm -f $(BIN) $(OBJ)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061126/32420b17/attachment.html


More information about the macports-changes mailing list