diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-27 09:46:24 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-27 09:46:24 +0000 |
commit | 8d8ab33d8dcdd3c94526cd7bb5484bbb34355fdf (patch) | |
tree | 4edfebb5c4b37393965c0b4a2d438dc6e9fdc6ce /editors | |
parent | 526d2d4fd2f33ea7469cca0bd3fe4626dea375fd (diff) | |
download | pkgsrc-8d8ab33d8dcdd3c94526cd7bb5484bbb34355fdf.tar.gz |
Use tr to handle differences between unzip implementations.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/OmegaT/Makefile | 6 | ||||
-rw-r--r-- | editors/OmegaT/distinfo | 4 | ||||
-rw-r--r-- | editors/OmegaT/patches/patch-build.xml | 24 |
3 files changed, 19 insertions, 15 deletions
diff --git a/editors/OmegaT/Makefile b/editors/OmegaT/Makefile index c8afd25c692..b460d0c8b6b 100644 --- a/editors/OmegaT/Makefile +++ b/editors/OmegaT/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2014/01/01 12:40:53 ryoon Exp $ +# $NetBSD: Makefile,v 1.13 2014/09/27 09:50:17 jperkin Exp $ # DISTNAME= OmegaT_3.0.8_01_Beta_Source @@ -42,6 +42,10 @@ INSTALLATION_DIRS= bin \ pre-patch: ${INSTALL_DATA} ${FILESDIR}/OmegaT.in ${WRKSRC}/OmegaT + for f in ${WRKSRC}/build.xml; do \ + ${TR} -d '\r' < $${f} > $${f}.new; \ + ${MV} $${f}.new $${f}; \ + done do-build: cd ${WRKSRC} \ diff --git a/editors/OmegaT/distinfo b/editors/OmegaT/distinfo index b36b3cc36b6..8e55ede7feb 100644 --- a/editors/OmegaT/distinfo +++ b/editors/OmegaT/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.11 2014/09/24 12:51:06 jperkin Exp $ +$NetBSD: distinfo,v 1.12 2014/09/27 09:50:17 jperkin Exp $ SHA1 (OmegaT_3.0.8_01_Beta_Source.zip) = 75c268711f9e435d93b8e7707b19efc15f3a628e RMD160 (OmegaT_3.0.8_01_Beta_Source.zip) = b85cd9d0ca9b952b0de8afa15625ba727b50a474 Size (OmegaT_3.0.8_01_Beta_Source.zip) = 107647322 bytes -SHA1 (patch-build.xml) = 4d29dd11fa91d4955b99bd54d622745f92ba57bb +SHA1 (patch-build.xml) = 0ec9108c02217b541885fbb2a50df87870d9b76b diff --git a/editors/OmegaT/patches/patch-build.xml b/editors/OmegaT/patches/patch-build.xml index d59c5073abd..ce6afe067b9 100644 --- a/editors/OmegaT/patches/patch-build.xml +++ b/editors/OmegaT/patches/patch-build.xml @@ -1,15 +1,15 @@ -$NetBSD: patch-build.xml,v 1.2 2014/09/24 12:51:06 jperkin Exp $ +$NetBSD: patch-build.xml,v 1.3 2014/09/27 09:50:17 jperkin Exp $ ---- build.xml.orig 2013-05-28 09:07:44.000000000 +0000 +--- build.xml.orig 2013-05-28 00:07:44.000000000 +0000 +++ build.xml @@ -82,10 +82,6 @@ - <copy todir="dist/native">
- <fileset dir="native"/>
- </copy>
-- <!-- copy scripts to the distribution directory -->
-- <copy todir="dist/scripts">
-- <fileset dir="scripts"/>
-- </copy>
- </target>
-
- <!-- Creates a zip with two localization packs -->
+ <copy todir="dist/native"> + <fileset dir="native"/> + </copy> +- <!-- copy scripts to the distribution directory --> +- <copy todir="dist/scripts"> +- <fileset dir="scripts"/> +- </copy> + </target> + + <!-- Creates a zip with two localization packs --> |