[21347] trunk/dports/textproc/highlight/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Jan 21 07:21:29 PST 2007


Revision: 21347
          http://trac.macosforge.org/projects/macports/changeset/21347
Author:   css at macports.org
Date:     2007-01-21 07:21:29 -0800 (Sun, 21 Jan 2007)

Log Message:
-----------
Update highlight to 2.4.8 (#11145)

Modified Paths:
--------------
    trunk/dports/textproc/highlight/Portfile

Modified: trunk/dports/textproc/highlight/Portfile
===================================================================
--- trunk/dports/textproc/highlight/Portfile	2007-01-21 15:10:29 UTC (rev 21346)
+++ trunk/dports/textproc/highlight/Portfile	2007-01-21 15:21:29 UTC (rev 21347)
@@ -3,16 +3,16 @@
 PortSystem 1.0
 
 name			highlight
-version			2.4.7
+version			2.4.8
 categories		textproc devel
 platforms		darwin
 maintainers		pjenvey at groovie.org
 description		converts source code to formatted text with syntax highlighting
 long_description	${description}
 
-homepage		http://www.andre-simon.de/
+homepage		http://www.andre-simon.de
 master_sites		${homepage}/zip/
-checksums		sha1 a7f326537e29f9c05fcab7f7a74279fdaf357fa5
+checksums		sha1 091689fde96c9f4e3de75ea1b7c1838e8d25708c
 use_bzip2		yes
 
 configure {
@@ -22,7 +22,9 @@
 		${worksrcpath}/highlight/datadir.cpp
 }
 
-platform darwin 8 { build.args CXX=/usr/bin/g++-3.3 }
+# Avoid stripping the binary (-s flag) during linking as this corrupts the executable.
+# Strip after building
+platform darwin 8 { build.args LDFLAGS="" }
 
 set conf_file "filetypes.conf"
 set old_conf_files { "scriptre.conf" "extensions.conf" }
@@ -53,6 +55,11 @@
 	file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
 }
 
+post-build {
+    cd ${worksrcpath}/highlight
+    system "strip highlight"
+}
+
 post-activate {
 	# copy over the sample conf file if necessary
 	if { ![file exists ${prefix}/etc/${name}/${conf_file}] } {

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


More information about the macports-changes mailing list