[124839] trunk/dports/sysutils/duff

larryv at macports.org larryv at macports.org
Thu Aug 28 13:55:56 PDT 2014


Revision: 124839
          https://trac.macports.org/changeset/124839
Author:   larryv at macports.org
Date:     2014-08-28 13:55:56 -0700 (Thu, 28 Aug 2014)
Log Message:
-----------
duff: Fetch distfile from GitHub (maintainer, IRC)

- Run autoreconf because the new distribution requires it.
- Patch configure.ac to make autoreconf run autopoint automatically.
- Cut out en at quot and en at boldquot translations and revbump because they
  break the build for some reason.

Modified Paths:
--------------
    trunk/dports/sysutils/duff/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/duff/files/
    trunk/dports/sysutils/duff/files/disable-broken-translations.patch
    trunk/dports/sysutils/duff/files/enable-autopoint.patch

Modified: trunk/dports/sysutils/duff/Portfile
===================================================================
--- trunk/dports/sysutils/duff/Portfile	2014-08-28 20:13:00 UTC (rev 124838)
+++ trunk/dports/sysutils/duff/Portfile	2014-08-28 20:55:56 UTC (rev 124839)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                duff
-version             0.5.2
+github.setup        elmindreda duff 0.5.2
+revision            1
 categories          sysutils
 platforms           darwin
 license             zlib
@@ -13,11 +14,17 @@
 description         Unix command-line utility for quickly finding duplicates \
                     in a given set of files
 long_description    ${description}
+homepage            http://duff.dreda.org
 
-homepage            http://duff.sourceforge.net
-master_sites        sourceforge
+# Required for autopoint.
+depends_build                   port:gettext
+depends_skip_archcheck-append   gettext
 
-checksums           rmd160  c2df2d5c19a9fb69277f632bcd9edaa8f5a57637 \
-                    sha256  5615ce50f971d29f6a13bbf4d4ab2d5a7134aad157741515c51d3921aa1b755d
+checksums           rmd160  c4ded9131a48ec70e33de6cb6dd6d9468e91184f \
+                    sha256  c492477ff82e741f504cc349321313f46d03becbc4cd4a0964d57efe9df7e06e
 
-use_bzip2           yes
+# The en at quot and en at boldquot translations break the build.
+patchfiles          disable-broken-translations.patch \
+                    enable-autopoint.patch
+
+use_autoreconf      yes

Added: trunk/dports/sysutils/duff/files/disable-broken-translations.patch
===================================================================
--- trunk/dports/sysutils/duff/files/disable-broken-translations.patch	                        (rev 0)
+++ trunk/dports/sysutils/duff/files/disable-broken-translations.patch	2014-08-28 20:55:56 UTC (rev 124839)
@@ -0,0 +1,10 @@
+Index: po/LINGUAS
+===================================================================
+--- po/LINGUAS.orig
++++ po/LINGUAS
+@@ -1,4 +1,4 @@
+ # Set of available languages.
+ 
+-en en at quot en at boldquot sv
++en sv
+ 

Added: trunk/dports/sysutils/duff/files/enable-autopoint.patch
===================================================================
--- trunk/dports/sysutils/duff/files/enable-autopoint.patch	                        (rev 0)
+++ trunk/dports/sysutils/duff/files/enable-autopoint.patch	2014-08-28 20:55:56 UTC (rev 124839)
@@ -0,0 +1,12 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -9,6 +9,7 @@ AM_INIT_AUTOMAKE([check-news dist-bzip2]
+ AM_CONFIG_HEADER([src/config.h])
+ AC_GNU_SOURCE
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.18.1])
+ 
+ # Checks for programs.
+ AC_PROG_CC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140828/077d4187/attachment.html>


More information about the macports-changes mailing list