[72118] trunk/dports/devel/gettext-lint

afb at macports.org afb at macports.org
Mon Oct 4 00:16:04 PDT 2010


Revision: 72118
          http://trac.macports.org/changeset/72118
Author:   afb at macports.org
Date:     2010-10-04 00:16:00 -0700 (Mon, 04 Oct 2010)
Log Message:
-----------
gettext-lint: fix shebang issues (#25542)

Modified Paths:
--------------
    trunk/dports/devel/gettext-lint/Portfile

Added Paths:
-----------
    trunk/dports/devel/gettext-lint/files/
    trunk/dports/devel/gettext-lint/files/patch-python.diff

Modified: trunk/dports/devel/gettext-lint/Portfile
===================================================================
--- trunk/dports/devel/gettext-lint/Portfile	2010-10-04 06:35:49 UTC (rev 72117)
+++ trunk/dports/devel/gettext-lint/Portfile	2010-10-04 07:16:00 UTC (rev 72118)
@@ -4,6 +4,7 @@
 
 name		gettext-lint
 version		0.4
+revision	1
 categories	devel
 platforms	darwin
 maintainers	afb openmaintainer
@@ -17,9 +18,12 @@
 master_sites	sourceforge:gettext-lint
 checksums	md5 9db81f7c3df06147ba27ee331222e057
 
-depends_lib	port:automake port:autoconf port:python25
+depends_lib	port:automake port:autoconf port:python25 bin:dos2unix:dos2unix
 
+patchfiles	patch-python.diff
+
 post-extract	{ delete ${worksrcpath}/INSTALL ${worksrcpath}/install-sh ${worksrcpath}/missing }
+post-patch	{ system "dos2unix -k ${worksrcpath}/src/POFileClean.in" }
 pre-configure	{ system "cd ${worksrcpath} && aclocal && automake --add-missing --copy && autoconf" }
 
 configure.env	PYTHON=${prefix}/bin/python2.5

Added: trunk/dports/devel/gettext-lint/files/patch-python.diff
===================================================================
--- trunk/dports/devel/gettext-lint/files/patch-python.diff	                        (rev 0)
+++ trunk/dports/devel/gettext-lint/files/patch-python.diff	2010-10-04 07:16:00 UTC (rev 72118)
@@ -0,0 +1,16 @@
+--- src/POFileEquiv.in.orig	2006-08-16 23:38:59.000000000 +0200
++++ src/POFileEquiv.in	2010-10-04 09:09:27.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!@PYTHON@
+ # -*- mode: Python; coding: utf-8; -*-
+ 
+ # PO file translation glossary generator
+--- src/POFileGlossary.in.orig	2006-09-10 22:39:22.000000000 +0200
++++ src/POFileGlossary.in	2010-10-04 09:09:38.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!@PYTHON@
+ # -*- mode: Python; coding: utf-8; -*-
+ 
+ # PO file glossary checker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101004/c061cbf6/attachment.html>


More information about the macports-changes mailing list