mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
38
devel/automake/Makefile
Normal file
38
devel/automake/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# $Id: Makefile 1361 2007-11-02 15:42:54Z root $
|
||||
# $URL: file:///usr2/svn/ports5/devel/automake/Makefile $
|
||||
#
|
||||
PORTNAME= automake
|
||||
PORTVERSION= 1.16.1 #1.15.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= automake
|
||||
DIST_SUBDIR= gnu
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= GNU Standards-compliant Makefile generator (1.9)
|
||||
|
||||
BUILD_DEPENDS+= autoconf:devel/autoconf
|
||||
|
||||
PREFIX= ${LOCALBASE}
|
||||
GNU_CONFIGURE= yes
|
||||
USES+= gmake perl5 tar:xz
|
||||
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-ziggi-freebsd${OSREL}
|
||||
|
||||
CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl
|
||||
MAKE_ARGS+= AUTOMAKE=${LOCALBASE}/bin/automake
|
||||
|
||||
|
||||
INFO+= automake automake-history
|
||||
|
||||
PLIST_SUB+= VERSION=${PORTVERSION:R}
|
||||
|
||||
post-patch:
|
||||
${TOUCH} ${WRKSRC}/aclocal.m4
|
||||
${TOUCH} ${WRKSRC}/*.in
|
||||
${TOUCH} ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
devel/automake/distinfo
Normal file
3
devel/automake/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1568643327
|
||||
SHA256 (gnu/automake-1.16.1.tar.xz) = 5d05bb38a23fd3312b10aea93840feec685bdf4a41146e78882848165d3ae921
|
||||
SIZE (gnu/automake-1.16.1.tar.xz) = 1534936
|
||||
31
devel/automake/files/patch-bug31222
Normal file
31
devel/automake/files/patch-bug31222
Normal file
@@ -0,0 +1,31 @@
|
||||
From a348d830659fffd2cfc42994524783b07e69b4b5 Mon Sep 17 00:00:00 2001
|
||||
From: Mathieu Lirzin <mthl@gnu.org>
|
||||
Date: Sun, 8 Jul 2018 23:41:42 +0200
|
||||
Subject: [PATCH] python: Don't use '\n' in sed substitution
|
||||
|
||||
This change fixes automake bug#31222.
|
||||
|
||||
On macOS, 'sed' interprets '\n' in the substitution text as the letter 'n'
|
||||
instead of as a newline.
|
||||
|
||||
* lib/am/python.am [?FIRST?] (am__pep3147_tweak): Use a space instead of '\n'.
|
||||
* NEWS: Update.
|
||||
---
|
||||
NEWS | 8 ++++++++
|
||||
lib/am/python.am | 2 +-
|
||||
2 files changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
--- lib/am/python.am.orig 2018-02-26 20:38:27 UTC
|
||||
+++ lib/am/python.am
|
||||
@@ -97,7 +97,7 @@ endif %?INSTALL%
|
||||
if %?INSTALL%
|
||||
|
||||
?FIRST?am__pep3147_tweak = \
|
||||
-?FIRST? sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc\n&.*.pyo|'
|
||||
+?FIRST? sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc &.*.pyo|'
|
||||
|
||||
.PHONY uninstall-am: uninstall-%DIR%PYTHON
|
||||
uninstall-%DIR%PYTHON:
|
||||
--
|
||||
2.22.0
|
||||
|
||||
110
devel/automake/files/patch-x-Makefile.in
Normal file
110
devel/automake/files/patch-x-Makefile.in
Normal file
@@ -0,0 +1,110 @@
|
||||
--- ./Makefile.in.orig 2018-03-11 23:21:08.000000000 +0200
|
||||
+++ ./Makefile.in 2019-09-16 16:25:48.819173000 +0200
|
||||
@@ -608,7 +608,7 @@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
CLEANFILES = $(noinst_SCRIPTS) $(bin_SCRIPTS) \
|
||||
- bin/aclocal-$(APIVERSION) bin/automake-$(APIVERSION) \
|
||||
+ bin/aclocal bin/automake \
|
||||
$(man1_MANS) $(nodist_perllib_DATA) t/ax/test-defs.sh \
|
||||
t/ax/shell-no-trail-bslash t/ax/cc-no-c-o runtest \
|
||||
$(PERF_TEST_SUITE_LOG)
|
||||
@@ -652,8 +652,8 @@
|
||||
dist_noinst_SCRIPTS =
|
||||
|
||||
# Wrapper for the build environment.
|
||||
-nodist_noinst_SCRIPTS = pre-inst-env bin/aclocal-$(APIVERSION) \
|
||||
- bin/automake-$(APIVERSION) t/ax/shell-no-trail-bslash \
|
||||
+nodist_noinst_SCRIPTS = pre-inst-env bin/aclocal \
|
||||
+ bin/automake t/ax/shell-no-trail-bslash \
|
||||
t/ax/cc-no-c-o runtest
|
||||
|
||||
# We want a handful of substitutions to be fully-expanded by make;
|
||||
@@ -700,8 +700,8 @@
|
||||
man1_MANS = \
|
||||
doc/aclocal.1 \
|
||||
doc/automake.1 \
|
||||
- doc/aclocal-$(APIVERSION).1 \
|
||||
- doc/automake-$(APIVERSION).1
|
||||
+ doc/aclocal.1 \
|
||||
+ doc/automake.1
|
||||
|
||||
update_mans = \
|
||||
$(AM_V_GEN): \
|
||||
@@ -728,8 +728,8 @@
|
||||
|
||||
dist_doc_DATA = $(srcdir)/doc/amhello-1.0.tar.gz
|
||||
setup_autotools_paths = { \
|
||||
- ACLOCAL=aclocal-$(APIVERSION) && export ACLOCAL \
|
||||
- && AUTOMAKE=automake-$(APIVERSION) && export AUTOMAKE \
|
||||
+ ACLOCAL=aclocal && export ACLOCAL \
|
||||
+ && AUTOMAKE=automake && export AUTOMAKE \
|
||||
&& AUTOCONF='$(am_AUTOCONF)' && export AUTOCONF \
|
||||
&& AUTOM4TE='$(am_AUTOM4TE)' && export AUTOM4TE \
|
||||
&& AUTORECONF='$(am_AUTORECONF)' && export AUTORECONF \
|
||||
@@ -3646,18 +3646,18 @@
|
||||
# seemed like the most reasonable approach.
|
||||
install-exec-hook:
|
||||
@$(POST_INSTALL)
|
||||
- @for p in $(bin_SCRIPTS); do \
|
||||
- f=`echo $$p | sed -e 's,.*/,,' -e '$(transform)'`; \
|
||||
- fv="$$f-$(APIVERSION)"; \
|
||||
- rm -f "$(DESTDIR)$(bindir)/$$fv"; \
|
||||
- echo " $(LN) '$(DESTDIR)$(bindir)/$$f' '$(DESTDIR)$(bindir)/$$fv'"; \
|
||||
- $(LN) "$(DESTDIR)$(bindir)/$$f" "$(DESTDIR)$(bindir)/$$fv"; \
|
||||
- done
|
||||
+# @for p in $(bin_SCRIPTS); do \
|
||||
+# f=`echo $$p | sed -e 's,.*/,,' -e '$(transform)'`; \
|
||||
+# fv="$$f"; \
|
||||
+# rm -f "$(DESTDIR)$(bindir)/$$fv"; \
|
||||
+# echo " $(LN) '$(DESTDIR)$(bindir)/$$f' '$(DESTDIR)$(bindir)/$$fv'"; \
|
||||
+# $(LN) "$(DESTDIR)$(bindir)/$$f" "$(DESTDIR)$(bindir)/$$fv"; \
|
||||
+# done
|
||||
|
||||
uninstall-hook:
|
||||
@for p in $(bin_SCRIPTS); do \
|
||||
f=`echo $$p | sed -e 's,.*/,,' -e '$(transform)'`; \
|
||||
- fv="$$f-$(APIVERSION)"; \
|
||||
+ fv="$$f"; \
|
||||
rm -f "$(DESTDIR)$(bindir)/$$fv"; \
|
||||
done
|
||||
|
||||
@@ -3671,13 +3671,13 @@
|
||||
&& in=$@.in && $(do_subst) <$(srcdir)/$$in >$@-t \
|
||||
&& chmod a+x,a-w $@-t && mv -f $@-t $@
|
||||
|
||||
-bin/aclocal-$(APIVERSION): bin/aclocal
|
||||
- $(AM_V_GEN) rm -f $@; \
|
||||
- $(LN) bin/aclocal $@
|
||||
-
|
||||
-bin/automake-$(APIVERSION): bin/automake
|
||||
- $(AM_V_GEN) rm -f $@; \
|
||||
- $(LN) bin/automake $@
|
||||
+#bin/aclocal: bin/aclocal
|
||||
+# $(AM_V_GEN) rm -f $@; \
|
||||
+# $(LN) bin/aclocal $@
|
||||
+
|
||||
+#bin/automake: bin/automake
|
||||
+# $(AM_V_GEN) rm -f $@; \
|
||||
+# $(LN) bin/automake $@
|
||||
|
||||
# vim: ft=automake noet
|
||||
|
||||
@@ -3687,12 +3687,12 @@
|
||||
$(AM_V_GEN): \
|
||||
&& $(MKDIR_P) doc \
|
||||
&& f=`echo $@ | sed 's|.*/||; s|\.1$$||; $(transform)'` \
|
||||
- && echo ".so man1/$$f-$(APIVERSION).1" > $@
|
||||
+ && echo ".so man1/$$f.1" > $@
|
||||
|
||||
-doc/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
|
||||
- $(update_mans) aclocal-$(APIVERSION)
|
||||
-doc/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm
|
||||
- $(update_mans) automake-$(APIVERSION)
|
||||
+doc/aclocal.1: $(aclocal_script) lib/Automake/Config.pm
|
||||
+ $(update_mans) aclocal
|
||||
+doc/automake.1: $(automake_script) lib/Automake/Config.pm
|
||||
+ $(update_mans) automake
|
||||
|
||||
# We depend on configure.ac so that we regenerate the tarball
|
||||
# whenever the Automake version changes.
|
||||
20
devel/automake/files/patch-x-bin-aclocal.in
Normal file
20
devel/automake/files/patch-x-bin-aclocal.in
Normal file
@@ -0,0 +1,20 @@
|
||||
--- ./bin/aclocal.in.orig 2018-02-26 22:38:27.000000000 +0200
|
||||
+++ ./bin/aclocal.in 2019-09-16 16:22:38.604062000 +0200
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
BEGIN
|
||||
{
|
||||
- unshift (@INC, '@datadir@/@PACKAGE@-@APIVERSION@')
|
||||
+ unshift (@INC, '@datadir@/@PACKAGE@')
|
||||
unless $ENV{AUTOMAKE_UNINSTALLED};
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
# ACLOCAL_PATH environment variable, and reset with the '--system-acdir'
|
||||
# option.
|
||||
my @user_includes = ();
|
||||
-my @automake_includes = ('@datadir@/aclocal-' . $APIVERSION);
|
||||
+my @automake_includes = ('@datadir@/aclocal');
|
||||
my @system_includes = ('@datadir@/aclocal');
|
||||
|
||||
# Whether we should copy M4 file in $user_includes[0].
|
||||
11
devel/automake/files/patch-x-bin-automake.in
Normal file
11
devel/automake/files/patch-x-bin-automake.in
Normal file
@@ -0,0 +1,11 @@
|
||||
--- ./bin/automake.in.orig 2018-03-08 22:27:05.000000000 +0200
|
||||
+++ ./bin/automake.in 2019-09-16 16:22:38.610016000 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
BEGIN
|
||||
{
|
||||
- unshift (@INC, '@datadir@/@PACKAGE@-@APIVERSION@')
|
||||
+ unshift (@INC, '@datadir@/@PACKAGE@')
|
||||
unless $ENV{AUTOMAKE_UNINSTALLED};
|
||||
|
||||
# Override SHELL. This is required on DJGPP so that system() uses
|
||||
29
devel/automake/files/patch-x-configure
Normal file
29
devel/automake/files/patch-x-configure
Normal file
@@ -0,0 +1,29 @@
|
||||
--- ./configure.orig 2018-03-11 23:21:08.000000000 +0200
|
||||
+++ ./configure 2019-09-16 16:22:38.638482000 +0200
|
||||
@@ -2687,13 +2687,13 @@
|
||||
APIVERSION=1.16
|
||||
|
||||
|
||||
-pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
|
||||
+pkgvdatadir="\${datadir}/$PACKAGE"
|
||||
|
||||
scriptdir="\${pkgvdatadir}"
|
||||
|
||||
amdir="\${pkgvdatadir}/am"
|
||||
|
||||
-automake_acdir="\${datadir}/aclocal-$APIVERSION"
|
||||
+automake_acdir="\${datadir}/aclocal"
|
||||
|
||||
system_acdir="\${datadir}/aclocal"
|
||||
|
||||
@@ -2702,8 +2702,8 @@
|
||||
# aclocal and automake, hence the remake rules must use those versions
|
||||
# as well. The extra quoting is to cater to cases when the build
|
||||
# directory contains whitespace or shell metacharacters.
|
||||
-ACLOCAL="\"`pwd`/pre-inst-env\" aclocal-$APIVERSION"
|
||||
-AUTOMAKE="\"`pwd`/pre-inst-env\" automake-$APIVERSION"
|
||||
+ACLOCAL="\"`pwd`/pre-inst-env\" aclocal"
|
||||
+AUTOMAKE="\"`pwd`/pre-inst-env\" automake"
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
||||
$as_echo_n "checking whether ln -s works... " >&6; }
|
||||
11
devel/automake/files/patch-x-lib-Automake-Config.in
Normal file
11
devel/automake/files/patch-x-lib-Automake-Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
--- ./lib/Automake/Config.in.orig 2018-02-26 22:38:27.000000000 +0200
|
||||
+++ ./lib/Automake/Config.in 2019-09-16 16:22:38.619530000 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
our $PACKAGE_BUGREPORT = '@PACKAGE_BUGREPORT@';
|
||||
our $VERSION = '@VERSION@';
|
||||
our $RELEASE_YEAR = '@RELEASE_YEAR@';
|
||||
-our $libdir = $ENV{"AUTOMAKE_LIBDIR"} || '@datadir@/@PACKAGE@-@APIVERSION@';
|
||||
+our $libdir = $ENV{"AUTOMAKE_LIBDIR"} || '@datadir@/@PACKAGE@';
|
||||
|
||||
our $perl_threads = 0;
|
||||
# We need at least this version for CLONE support.
|
||||
14
devel/automake/files/patch-x-m4-init.m4
Normal file
14
devel/automake/files/patch-x-m4-init.m4
Normal file
@@ -0,0 +1,14 @@
|
||||
--- ./m4/init.m4.orig 2018-02-26 22:38:27.000000000 +0200
|
||||
+++ ./m4/init.m4 2019-09-16 16:22:38.623010000 +0200
|
||||
@@ -77,9 +77,9 @@
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
-AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
|
||||
+AM_MISSING_PROG([ACLOCAL], [aclocal])
|
||||
AM_MISSING_PROG([AUTOCONF], [autoconf])
|
||||
-AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
|
||||
+AM_MISSING_PROG([AUTOMAKE], [automake])
|
||||
AM_MISSING_PROG([AUTOHEADER], [autoheader])
|
||||
AM_MISSING_PROG([MAKEINFO], [makeinfo])
|
||||
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
19
devel/automake/pkg-descr
Normal file
19
devel/automake/pkg-descr
Normal file
@@ -0,0 +1,19 @@
|
||||
Automake is a tool for automatically generating Makefiles compliant with
|
||||
the GNU Coding Standards. 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 is a Perl script. The input files
|
||||
are called Makefile.am. The output files are called Makefile.in; They are
|
||||
intended for use with Autoconf. Automake requires certain things to be done
|
||||
in your configure.in. This package also includes the "aclocal"
|
||||
program. aclocal is a program to generate an 'aclocal.m4' based on the
|
||||
contents of 'configure.in'. It is useful as an extensible, maintainable
|
||||
mechanism for augmenting autoconf.
|
||||
|
||||
This port is specifically designed for developers that want to create
|
||||
cross-platform software distributions on FreeBSD. This version of automake
|
||||
should _NEVER_ be used with the FreeBSD ports system as a replacement for the
|
||||
versioned copies of automake.
|
||||
|
||||
WWW: http://www.gnu.org/software/automake/
|
||||
|
||||
-- AlanE <alane@freebsd.org>
|
||||
123
devel/automake/pkg-plist
Normal file
123
devel/automake/pkg-plist
Normal file
@@ -0,0 +1,123 @@
|
||||
bin/aclocal
|
||||
bin/automake
|
||||
man/man1/aclocal.1.gz
|
||||
man/man1/automake.1.gz
|
||||
share/aclocal/amversion.m4
|
||||
share/aclocal/ar-lib.m4
|
||||
share/aclocal/as.m4
|
||||
share/aclocal/auxdir.m4
|
||||
share/aclocal/cond-if.m4
|
||||
share/aclocal/cond.m4
|
||||
share/aclocal/depend.m4
|
||||
share/aclocal/depout.m4
|
||||
share/aclocal/dmalloc.m4
|
||||
share/aclocal/extra-recurs.m4
|
||||
share/aclocal/gcj.m4
|
||||
share/aclocal/init.m4
|
||||
share/aclocal/install-sh.m4
|
||||
share/aclocal/internal/ac-config-macro-dirs.m4
|
||||
share/aclocal/lead-dot.m4
|
||||
share/aclocal/lex.m4
|
||||
share/aclocal/lispdir.m4
|
||||
share/aclocal/maintainer.m4
|
||||
share/aclocal/make.m4
|
||||
share/aclocal/missing.m4
|
||||
share/aclocal/mkdirp.m4
|
||||
share/aclocal/obsolete.m4
|
||||
share/aclocal/options.m4
|
||||
share/aclocal/prog-cc-c-o.m4
|
||||
share/aclocal/python.m4
|
||||
share/aclocal/README
|
||||
share/aclocal/runlog.m4
|
||||
share/aclocal/sanity.m4
|
||||
share/aclocal/silent.m4
|
||||
share/aclocal/strip.m4
|
||||
share/aclocal/substnot.m4
|
||||
share/aclocal/tar.m4
|
||||
share/aclocal/upc.m4
|
||||
share/aclocal/vala.m4
|
||||
share/automake/am/check.am
|
||||
share/automake/am/check2.am
|
||||
share/automake/am/clean-hdr.am
|
||||
share/automake/am/clean.am
|
||||
share/automake/am/compile.am
|
||||
share/automake/am/configure.am
|
||||
share/automake/am/data.am
|
||||
share/automake/am/dejagnu.am
|
||||
share/automake/am/depend.am
|
||||
share/automake/am/depend2.am
|
||||
share/automake/am/distdir.am
|
||||
share/automake/am/footer.am
|
||||
share/automake/am/header-vars.am
|
||||
share/automake/am/header.am
|
||||
share/automake/am/inst-vars.am
|
||||
share/automake/am/install.am
|
||||
share/automake/am/java.am
|
||||
share/automake/am/lang-compile.am
|
||||
share/automake/am/lex.am
|
||||
share/automake/am/library.am
|
||||
share/automake/am/libs.am
|
||||
share/automake/am/libtool.am
|
||||
share/automake/am/lisp.am
|
||||
share/automake/am/ltlib.am
|
||||
share/automake/am/ltlibrary.am
|
||||
share/automake/am/mans-vars.am
|
||||
share/automake/am/mans.am
|
||||
share/automake/am/program.am
|
||||
share/automake/am/progs.am
|
||||
share/automake/am/python.am
|
||||
share/automake/am/remake-hdr.am
|
||||
share/automake/am/scripts.am
|
||||
share/automake/am/subdirs.am
|
||||
share/automake/am/tags.am
|
||||
share/automake/am/texi-vers.am
|
||||
share/automake/am/texibuild.am
|
||||
share/automake/am/texinfos.am
|
||||
share/automake/am/vala.am
|
||||
share/automake/am/yacc.am
|
||||
share/automake/ar-lib
|
||||
share/automake/Automake/ChannelDefs.pm
|
||||
share/automake/Automake/Channels.pm
|
||||
share/automake/Automake/Condition.pm
|
||||
share/automake/Automake/Config.pm
|
||||
share/automake/Automake/Configure_ac.pm
|
||||
share/automake/Automake/DisjConditions.pm
|
||||
share/automake/Automake/FileUtils.pm
|
||||
share/automake/Automake/General.pm
|
||||
share/automake/Automake/Getopt.pm
|
||||
share/automake/Automake/Item.pm
|
||||
share/automake/Automake/ItemDef.pm
|
||||
share/automake/Automake/Language.pm
|
||||
share/automake/Automake/Location.pm
|
||||
share/automake/Automake/Options.pm
|
||||
share/automake/Automake/Rule.pm
|
||||
share/automake/Automake/RuleDef.pm
|
||||
share/automake/Automake/VarDef.pm
|
||||
share/automake/Automake/Variable.pm
|
||||
share/automake/Automake/Version.pm
|
||||
share/automake/Automake/Wrap.pm
|
||||
share/automake/Automake/XFile.pm
|
||||
share/automake/compile
|
||||
share/automake/config.guess
|
||||
share/automake/config.sub
|
||||
share/automake/COPYING
|
||||
share/automake/depcomp
|
||||
share/automake/INSTALL
|
||||
share/automake/install-sh
|
||||
share/automake/mdate-sh
|
||||
share/automake/missing
|
||||
share/automake/mkinstalldirs
|
||||
share/automake/py-compile
|
||||
share/automake/tap-driver.sh
|
||||
share/automake/test-driver
|
||||
share/automake/texinfo.tex
|
||||
share/automake/ylwrap
|
||||
share/doc/automake/amhello-1.0.tar.gz
|
||||
@dir share/aclocal/internal
|
||||
@dir share/aclocal
|
||||
@dir share/automake/am
|
||||
@dir share/automake/Automake
|
||||
@dir share/automake
|
||||
@dir share/doc/automake
|
||||
@dir share/doc
|
||||
@dir share/info
|
||||
Reference in New Issue
Block a user