import automake 1.12

from brad
ok sthen@
This commit is contained in:
jasper 2012-06-07 12:06:47 +00:00
parent 083b487e01
commit 5e9bfc8cab
7 changed files with 295 additions and 0 deletions

View File

@ -0,0 +1,76 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/07 12:06:47 jasper Exp $
COMMENT= GNU standards-compliant Makefile generator
VERSION= 1.12
DISTNAME= automake-${VERSION}
PKGSPEC= automake->=${VERSION},<1.13
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=automake/}
HOMEPAGE= http://www.gnu.org/software/automake/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MODPY_BUILDDEP= No
MODPY_RUNDEP= No
AUTOCONF_VERSION= 2.68
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
SUFFIX= -${VERSION}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --infodir=${PREFIX}/info
CONFIGURE_ENV += AUTOCONF_VERSION=${AUTOCONF_VERSION}
MAKE_FLAGS+= pkgvdatadir=${PREFIX}/share/automake${SUFFIX} \
APIVERSION=${VERSION}
SUBST_VARS= SUFFIX
FAKE_FLAGS= docdir=${PREFIX}/share/doc/automake${SUFFIX}
REGRESS_DEPENDS= ${BASE_PKGPATH} \
${MODPY_RUN_DEPENDS} \
devel/libtool \
devel/gmake \
archivers/bzip2 \
devel/bison \
editors/emacs21 \
devel/dejagnu
REGRESS_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
MAKE=${GMAKE}
do-regress:
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
@cd ${WRKBUILD} && \
exec ${SETENV} ${MAKE_ENV} ${REGRESS_ENV} \
${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} \
-f ${MAKE_FILE} ${REGRESS_TARGET}
pre-configure:
${SUBST_CMD} ${WRKSRC}/doc/automake.texi
post-install:
cd ${PREFIX}/info && mv automake.info automake${SUFFIX}.info
perl -pi -e "s,automake\: \(automake\),automake-1\.12\: \(automake-1\.12\)," \
${PREFIX}/info/automake${SUFFIX}.info
perl -pi -e "s,aclocal\: \(automake\),aclocal: \(automake-1\.12\)," \
${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 <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (automake-1.12.tar.gz) = 2Kj2vYmKazSodHKM0eR6lQ==
RMD160 (automake-1.12.tar.gz) = jooCBy0pzNe7PfeEOGvSVM89CfY=
SHA1 (automake-1.12.tar.gz) = c15adV3UuiTbs0WQEZiHOyaGgE0=
SHA256 (automake-1.12.tar.gz) = bcwMWXHHTaNp3aAPzq9UFsHxhtY16xTMMB0c4p5amiY=
SIZE (automake-1.12.tar.gz) = 2011170

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-automake_in,v 1.1.1.1 2012/06/07 12:06:47 jasper Exp $
--- automake.in.orig Sat Apr 21 10:38:05 2012
+++ automake.in Thu May 24 22:54:00 2012
@@ -4236,7 +4236,7 @@ sub handle_configure ($$$@)
# Use $(install_sh), not $(MKDIR_P) because the latter requires
# at least one argument, and $(mkinstalldirs) used to work
# even without arguments (e.g. $(mkinstalldirs) $(conditional_dir)).
- define_variable ('mkinstalldirs', '$(install_sh) -d', INTERNAL);
+ define_variable ('mkinstalldirs', '$(SHELL) $(install_sh) -d', INTERNAL);
}
reject_var ('CONFIG_HEADER',
@@ -5222,6 +5222,7 @@ sub scan_autoconf_traces ($)
_LT_AC_TAGCONFIG => 0,
m4_include => 1,
m4_sinclude => 1,
+ include => 1,
sinclude => 1,
);
@@ -5245,6 +5246,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};

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-doc_automake_texi,v 1.1.1.1 2012/06/07 12:06:47 jasper Exp $
--- doc/automake.texi.orig Sat Apr 21 10:38:05 2012
+++ doc/automake.texi Thu May 24 22:54:00 2012
@@ -1,7 +1,8 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
-@setfilename automake.info
-@settitle automake
+@setfilename automake${SUFFIX}.info
+@dircategory Programming & development tools
+@settitle automake${SUFFIX}
@setchapternewpage off
@c %**end of header
@@ -38,13 +39,13 @@ section entitled ``GNU Free Documentation License.''
@dircategory Software development
@direntry
-* Automake: (automake). Making GNU standards-compliant Makefiles.
+* automake${SUFFIX}: (automake${SUFFIX}). 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${SUFFIX}: (automake${SUFFIX})aclocal Invocation. Generating aclocal.m4.
+* automake${SUFFIX}: (automake${SUFFIX})automake Invocation. Generating Makefile.in.
@end direntry
@titlepage

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-lib_am_header-vars_am,v 1.1.1.1 2012/06/07 12:06:47 jasper Exp $
--- lib/am/header-vars.am.orig Sat Apr 21 10:38:05 2012
+++ lib/am/header-vars.am Thu May 24 22:54:00 2012
@@ -62,9 +62,9 @@ pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)

View File

@ -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.

View File

@ -0,0 +1,133 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/06/07 12:06:47 jasper Exp $
@option no-default-conflict
@conflict automake->=1.12,<1.13
@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}/ccstdc.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}/gcj.m4
share/aclocal${SUFFIX}/header.m4
share/aclocal${SUFFIX}/init.m4
share/aclocal${SUFFIX}/install-sh.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}/minuso.m4
share/aclocal${SUFFIX}/missing.m4
share/aclocal${SUFFIX}/mkdirp.m4
share/aclocal${SUFFIX}/obsol-gt.m4
share/aclocal${SUFFIX}/obsol-lt.m4
share/aclocal${SUFFIX}/obsolete.m4
share/aclocal${SUFFIX}/options.m4
share/aclocal${SUFFIX}/protos.m4
share/aclocal${SUFFIX}/python.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
@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/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}/elisp-comp
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.pl
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