From ff2ea4b4bea71af26c1e725f5fcda3371658c558 Mon Sep 17 00:00:00 2001 From: purplerain Date: Mon, 27 Jan 2025 20:04:52 +0000 Subject: [PATCH] add automake/1.17 --- devel/automake/1.17/Makefile | 22 +++ devel/automake/1.17/distinfo | 2 + .../1.17/patches/patch-bin_automake_in | 19 +++ .../1.17/patches/patch-doc_automake_texi | 75 ++++++++++ devel/automake/1.17/pkg/DESCR | 6 + devel/automake/1.17/pkg/PLIST | 132 ++++++++++++++++++ devel/automake/Makefile | 1 + 7 files changed, 257 insertions(+) create mode 100644 devel/automake/1.17/Makefile create mode 100644 devel/automake/1.17/distinfo create mode 100644 devel/automake/1.17/patches/patch-bin_automake_in create mode 100644 devel/automake/1.17/patches/patch-doc_automake_texi create mode 100644 devel/automake/1.17/pkg/DESCR create mode 100644 devel/automake/1.17/pkg/PLIST diff --git a/devel/automake/1.17/Makefile b/devel/automake/1.17/Makefile new file mode 100644 index 000000000..8dc3e10e5 --- /dev/null +++ b/devel/automake/1.17/Makefile @@ -0,0 +1,22 @@ +VERSION= 1.17 +DISTNAME= automake-${VERSION} +PKGSPEC= automake->=${VERSION},<1.18 +EXTRACT_SUFX= .tar.xz +PORTROACH= + +AUTOCONF_VERSION= 2.72 + +post-install: + cd ${PREFIX}/info && mv automake.info automake${SUFFIX}.info + perl -pi -e "s,automake\: \(automake\),automake-1\.17\: \(automake-1\.17\)," \ + ${PREFIX}/info/automake${SUFFIX}.info + perl -pi -e "s,aclocal\: \(automake\),aclocal: \(automake-1\.17\)," \ + ${PREFIX}/info/automake${SUFFIX}.info + +.for f in info-1 info-2 info-3 + cd ${PREFIX}/info && mv automake.${f} automake${SUFFIX}.${f} \ + && perl -pi -e "s,automake.${f},automake${SUFFIX}.${f}," \ + ${PREFIX}/info/automake${SUFFIX}.info +.endfor + +.include diff --git a/devel/automake/1.17/distinfo b/devel/automake/1.17/distinfo new file mode 100644 index 000000000..45528f56b --- /dev/null +++ b/devel/automake/1.17/distinfo @@ -0,0 +1,2 @@ +SHA256 (automake-1.17.tar.xz) = iSDB/EEeE7kL9wTvnbbynVQOdtIyyzssn03EzFmb2ZA= +SIZE (automake-1.17.tar.xz) = 1652632 diff --git a/devel/automake/1.17/patches/patch-bin_automake_in b/devel/automake/1.17/patches/patch-bin_automake_in new file mode 100644 index 000000000..ac43b40d7 --- /dev/null +++ b/devel/automake/1.17/patches/patch-bin_automake_in @@ -0,0 +1,19 @@ +Index: bin/automake.in +--- bin/automake.in.orig ++++ bin/automake.in +@@ -5306,6 +5306,7 @@ sub scan_autoconf_traces + _LT_AC_TAGCONFIG => 0, + m4_include => 1, + m4_sinclude => 1, ++ include => 1, + sinclude => 1, + ); + +@@ -5334,6 +5335,7 @@ sub scan_autoconf_traces + my ($here, $depth, @args) = split (/::/); + $where = new Automake::Location $here; + my $macro = $args[0]; ++ next if ($macro eq "include"); + + prog_error ("unrequested trace '$macro'") + unless exists $traced{$macro}; diff --git a/devel/automake/1.17/patches/patch-doc_automake_texi b/devel/automake/1.17/patches/patch-doc_automake_texi new file mode 100644 index 000000000..fe2ed32ed --- /dev/null +++ b/devel/automake/1.17/patches/patch-doc_automake_texi @@ -0,0 +1,75 @@ +Mostly adding suffixes. + +Last hunks: patch to work with the older version of texinfo that we have +in base (we don't want automake to depend on too many other ports..); +the second is @geq which isn't supported in older texinfo, and others +are avoid cross-reference without empty first argument. + +Index: doc/automake.texi +--- doc/automake.texi.orig ++++ doc/automake.texi +@@ -1,7 +1,8 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header +-@setfilename automake.info +-@settitle automake ++@setfilename automake-1.17.info ++@dircategory Programming & development tools ++@settitle automake-1.17 + @documentencoding UTF-8 + @documentlanguage en + @setchapternewpage off +@@ -40,13 +41,13 @@ section entitled ``GNU Free Documentation License.'' + + @dircategory Software development + @direntry +-* Automake: (automake). Making GNU standards-compliant Makefiles. ++* automake-1.17: (automake-1.17). Making GNU standards-compliant Makefiles. + @end direntry + + @dircategory Individual utilities + @direntry +-* aclocal-invocation: (automake)aclocal Invocation. Generating aclocal.m4. +-* automake-invocation: (automake)automake Invocation. Generating Makefile.in. ++* aclocal-1.17: (automake-1.17)aclocal Invocation. Generating aclocal.m4. ++* automake-1.17: (automake-1.17)automake Invocation. Generating Makefile.in. + @end direntry + + @titlepage +@@ -1599,15 +1600,15 @@ curious: the basic idea is to run: + + @enumerate + @item @command{aclocal} (@pxref{aclocal Invocation}), +-@item @command{autoconf} (@pxref{,,,autoconf, The Autoconf Manual}), ++@item @command{autoconf} (@pxref{Top,,,autoconf, The Autoconf Manual}), + @item (if needed) @command{autoheader} (part of the + Autoconf distribution), and + @item @command{automake} (@pxref{automake Invocation}). + @end enumerate + + @noindent +-If needed, tools related to Gettext (@pxref{,,,gettext, GNU gettext +-utilities}) and Libtool (@pxref{,,,libtool, The Libtool Manual}) are also ++If needed, tools related to Gettext (@pxref{Top,,,gettext, GNU gettext ++utilities}) and Libtool (@pxref{Top,,,libtool, The Libtool Manual}) are also + invoked at different points. Thus, as you can see, using + @command{autoreconf} is quite a bit more convenient. + +@@ -8030,7 +8031,7 @@ AM_PATH_PYTHON([2.5]) + + @noindent + This is fine when Python is an absolute requirement for the package. +-If Python @geq{} 2.5 was only @emph{optional} for the package, ++If Python >= 2.5 was only @emph{optional} for the package, + @code{AM_PATH_PYTHON} could be called as follows. + + @example +@@ -9237,7 +9238,7 @@ let's proceed with an example. Suppose our package co + for which we want to build a man page using @command{help2man}. GNU + @command{help2man} produces simple manual pages from the + @option{--help} and @option{--version} output of other commands +-(@pxref{,,,help2man, The Help2man Manual}). Because we don't want to ++(@pxref{Top,,,help2man, The Help2man Manual}). Because we don't want to + force our users to install @command{help2man}, we distribute the + generated man page using the following setup. + diff --git a/devel/automake/1.17/pkg/DESCR b/devel/automake/1.17/pkg/DESCR new file mode 100644 index 000000000..bf3e1652a --- /dev/null +++ b/devel/automake/1.17/pkg/DESCR @@ -0,0 +1,6 @@ +Automake is an experimental Makefile generator. It was inspired by the +4.4BSD make and include files, but aims to be portable and to conform to +the GNU standards for Makefile variables and targets. + +Automake assumes the project uses autoconf. If you want automatic +dependency tracking support, the use of GNU make is also required. diff --git a/devel/automake/1.17/pkg/PLIST b/devel/automake/1.17/pkg/PLIST new file mode 100644 index 000000000..43bd42d1f --- /dev/null +++ b/devel/automake/1.17/pkg/PLIST @@ -0,0 +1,132 @@ +@option no-default-conflict +@option is-branch +@conflict ${PKGSPEC} +@comment bin/aclocal +bin/aclocal${SUFFIX} +@comment bin/automake +bin/automake${SUFFIX} +@info info/automake${SUFFIX}.info +@comment @info info/automake-history.info +@man man/man1/aclocal${SUFFIX}.1 +@comment @man man/man1/aclocal.1 +@man man/man1/automake${SUFFIX}.1 +@comment @man man/man1/automake.1 +share/aclocal${SUFFIX}/ +share/aclocal${SUFFIX}/amversion.m4 +share/aclocal${SUFFIX}/ar-lib.m4 +share/aclocal${SUFFIX}/as.m4 +share/aclocal${SUFFIX}/auxdir.m4 +share/aclocal${SUFFIX}/cond-if.m4 +share/aclocal${SUFFIX}/cond.m4 +share/aclocal${SUFFIX}/depend.m4 +share/aclocal${SUFFIX}/depout.m4 +share/aclocal${SUFFIX}/dmalloc.m4 +share/aclocal${SUFFIX}/extra-recurs.m4 +share/aclocal${SUFFIX}/gcj.m4 +share/aclocal${SUFFIX}/init.m4 +share/aclocal${SUFFIX}/install-sh.m4 +share/aclocal${SUFFIX}/internal/ +share/aclocal${SUFFIX}/internal/ac-config-macro-dirs.m4 +share/aclocal${SUFFIX}/lead-dot.m4 +share/aclocal${SUFFIX}/lex.m4 +share/aclocal${SUFFIX}/lispdir.m4 +share/aclocal${SUFFIX}/maintainer.m4 +share/aclocal${SUFFIX}/make.m4 +share/aclocal${SUFFIX}/missing.m4 +share/aclocal${SUFFIX}/mkdirp.m4 +share/aclocal${SUFFIX}/obsolete.m4 +share/aclocal${SUFFIX}/options.m4 +share/aclocal${SUFFIX}/prog-cc-c-o.m4 +share/aclocal${SUFFIX}/python.m4 +share/aclocal${SUFFIX}/rmf.m4 +share/aclocal${SUFFIX}/runlog.m4 +share/aclocal${SUFFIX}/sanity.m4 +share/aclocal${SUFFIX}/silent.m4 +share/aclocal${SUFFIX}/strip.m4 +share/aclocal${SUFFIX}/substnot.m4 +share/aclocal${SUFFIX}/tar.m4 +share/aclocal${SUFFIX}/upc.m4 +share/aclocal${SUFFIX}/vala.m4 +share/aclocal${SUFFIX}/xargsn.m4 +@comment share/aclocal/README +share/automake${SUFFIX}/ +share/automake${SUFFIX}/Automake/ +share/automake${SUFFIX}/Automake/ChannelDefs.pm +share/automake${SUFFIX}/Automake/Channels.pm +share/automake${SUFFIX}/Automake/Condition.pm +share/automake${SUFFIX}/Automake/Config.pm +share/automake${SUFFIX}/Automake/Configure_ac.pm +share/automake${SUFFIX}/Automake/DisjConditions.pm +share/automake${SUFFIX}/Automake/FileUtils.pm +share/automake${SUFFIX}/Automake/General.pm +share/automake${SUFFIX}/Automake/Getopt.pm +share/automake${SUFFIX}/Automake/Item.pm +share/automake${SUFFIX}/Automake/ItemDef.pm +share/automake${SUFFIX}/Automake/Language.pm +share/automake${SUFFIX}/Automake/Location.pm +share/automake${SUFFIX}/Automake/Options.pm +share/automake${SUFFIX}/Automake/Rule.pm +share/automake${SUFFIX}/Automake/RuleDef.pm +share/automake${SUFFIX}/Automake/VarDef.pm +share/automake${SUFFIX}/Automake/Variable.pm +share/automake${SUFFIX}/Automake/Version.pm +share/automake${SUFFIX}/Automake/Wrap.pm +share/automake${SUFFIX}/Automake/XFile.pm +share/automake${SUFFIX}/COPYING +share/automake${SUFFIX}/INSTALL +share/automake${SUFFIX}/am/ +share/automake${SUFFIX}/am/check.am +share/automake${SUFFIX}/am/check2.am +share/automake${SUFFIX}/am/clean-hdr.am +share/automake${SUFFIX}/am/clean.am +share/automake${SUFFIX}/am/compile.am +share/automake${SUFFIX}/am/configure.am +share/automake${SUFFIX}/am/data.am +share/automake${SUFFIX}/am/dejagnu.am +share/automake${SUFFIX}/am/depend.am +share/automake${SUFFIX}/am/depend2.am +share/automake${SUFFIX}/am/distdir.am +share/automake${SUFFIX}/am/footer.am +share/automake${SUFFIX}/am/header-vars.am +share/automake${SUFFIX}/am/header.am +share/automake${SUFFIX}/am/inst-vars.am +share/automake${SUFFIX}/am/install.am +share/automake${SUFFIX}/am/java.am +share/automake${SUFFIX}/am/lang-compile.am +share/automake${SUFFIX}/am/lex.am +share/automake${SUFFIX}/am/library.am +share/automake${SUFFIX}/am/libs.am +share/automake${SUFFIX}/am/libtool.am +share/automake${SUFFIX}/am/lisp.am +share/automake${SUFFIX}/am/ltlib.am +share/automake${SUFFIX}/am/ltlibrary.am +share/automake${SUFFIX}/am/mans-vars.am +share/automake${SUFFIX}/am/mans.am +share/automake${SUFFIX}/am/program.am +share/automake${SUFFIX}/am/progs.am +share/automake${SUFFIX}/am/python.am +share/automake${SUFFIX}/am/remake-hdr.am +share/automake${SUFFIX}/am/scripts.am +share/automake${SUFFIX}/am/subdirs.am +share/automake${SUFFIX}/am/tags.am +share/automake${SUFFIX}/am/texi-vers.am +share/automake${SUFFIX}/am/texibuild.am +share/automake${SUFFIX}/am/texinfos.am +share/automake${SUFFIX}/am/vala.am +share/automake${SUFFIX}/am/yacc.am +share/automake${SUFFIX}/ar-lib +share/automake${SUFFIX}/compile +share/automake${SUFFIX}/config.guess +share/automake${SUFFIX}/config.sub +share/automake${SUFFIX}/depcomp +share/automake${SUFFIX}/install-sh +share/automake${SUFFIX}/mdate-sh +share/automake${SUFFIX}/missing +share/automake${SUFFIX}/mkinstalldirs +share/automake${SUFFIX}/py-compile +share/automake${SUFFIX}/tap-driver.sh +share/automake${SUFFIX}/test-driver +share/automake${SUFFIX}/texinfo.tex +share/automake${SUFFIX}/ylwrap +share/doc/automake${SUFFIX}/ +share/doc/automake${SUFFIX}/amhello-1.0.tar.gz diff --git a/devel/automake/Makefile b/devel/automake/Makefile index 2c9c6b2a1..bb1ab29da 100644 --- a/devel/automake/Makefile +++ b/devel/automake/Makefile @@ -9,5 +9,6 @@ SUBDIR += 1.13 SUBDIR += 1.14 SUBDIR += 1.15 SUBDIR += 1.16 +SUBDIR += 1.17 .include