diff options
Diffstat (limited to 'ftp/axel')
| -rw-r--r-- | ftp/axel/Makefile | 11 | ||||
| -rw-r--r-- | ftp/axel/files/patch-Makefile.am | 12 | ||||
| -rw-r--r-- | ftp/axel/files/patch-configure.ac | 11 | ||||
| -rw-r--r-- | ftp/axel/pkg-plist | 13 |
4 files changed, 43 insertions, 4 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile index 3561557a5f55..aa85398ab568 100644 --- a/ftp/axel/Makefile +++ b/ftp/axel/Makefile @@ -1,6 +1,7 @@ PORTNAME= axel DISTVERSIONPREFIX= v DISTVERSION= 2.17.14 +PORTREVISION= 1 CATEGORIES= ftp MAINTAINER= yuri@FreeBSD.org @@ -19,11 +20,13 @@ USE_GITHUB= yes GH_ACCOUNT= axel-download-accelerator GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share - CONFIGURE_ARGS= --with-ssl=openssl -PLIST_FILES= bin/axel \ - share/man/man1/axel.1.gz +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT=NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext-runtime .include <bsd.port.mk> diff --git a/ftp/axel/files/patch-Makefile.am b/ftp/axel/files/patch-Makefile.am new file mode 100644 index 000000000000..85a06a50a1a4 --- /dev/null +++ b/ftp/axel/files/patch-Makefile.am @@ -0,0 +1,12 @@ +--- Makefile.am.orig 2024-04-07 22:59:28 UTC ++++ Makefile.am +@@ -1,8 +1,5 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-xz + AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-xz +- +-# XXX Fix disagreement between aclocal and make +-# (aclocal doesn't update based on mtime) +-ACLOCAL = touch $@; @ACLOCAL@ ++ACLOCAL_AMFLAGS = -I m4 + + SUBDIRS = po + diff --git a/ftp/axel/files/patch-configure.ac b/ftp/axel/files/patch-configure.ac new file mode 100644 index 000000000000..8f9553e2e413 --- /dev/null +++ b/ftp/axel/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2024-04-07 22:59:28 UTC ++++ configure.ac +@@ -237,7 +237,7 @@ AM_GNU_GETTEXT([external]) + + # Add Gettext + AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.11.1]) ++AM_GNU_GETTEXT_REQUIRE_VERSION([0.23.1]) + + # POSIX threads + AX_PTHREAD() diff --git a/ftp/axel/pkg-plist b/ftp/axel/pkg-plist new file mode 100644 index 000000000000..d295475ed2ee --- /dev/null +++ b/ftp/axel/pkg-plist @@ -0,0 +1,13 @@ +bin/axel +%%NLS%%share/locale/de/LC_MESSAGES/axel.mo +%%NLS%%share/locale/es/LC_MESSAGES/axel.mo +%%NLS%%share/locale/id_ID/LC_MESSAGES/axel.mo +%%NLS%%share/locale/it/LC_MESSAGES/axel.mo +%%NLS%%share/locale/ja/LC_MESSAGES/axel.mo +%%NLS%%share/locale/ka/LC_MESSAGES/axel.mo +%%NLS%%share/locale/nl/LC_MESSAGES/axel.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/axel.mo +%%NLS%%share/locale/ru/LC_MESSAGES/axel.mo +%%NLS%%share/locale/tr/LC_MESSAGES/axel.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/axel.mo +share/man/man1/axel.1.gz |
