New package: autoconf213-2.13.

This commit is contained in:
Juan RP 2013-05-16 18:02:52 +02:00
parent 9f6ad041dc
commit 926793e742
4 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,50 @@
$NetBSD: patch-aa,v 1.2 2006/11/02 18:17:22 joerg Exp $
--- Makefile.in.orig 1999-01-05 13:27:16.000000000 +0000
+++ Makefile.in
@@ -137,36 +137,32 @@ installcheck: all install
cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
installdirs:
- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
+ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir) ${DESTDIR}$(acdatadir)
install: all $(M4FILES) acconfig.h installdirs install-info
for p in $(ASCRIPTS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ $(INSTALL) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
done
for i in $(M4FROZEN); do \
- $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
+ $(INSTALL_DATA) $$i ${DESTDIR}$(acdatadir)/$$i; \
done
for i in $(M4FILES) acconfig.h; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
done
-if test -f autoscan; then \
- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
+ $(INSTALL) autoscan ${DESTDIR}$(bindir)/`echo autoscan|sed '$(transform)'`; \
for i in acfunctions acheaders acidentifiers acprograms \
- acmakevars; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
+ acmakevars config.guess config.sub; do \
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
done; \
else :; fi
# Don't cd, to avoid breaking install-sh references.
install-info: info installdirs
if test -f autoconf.info; then \
- for i in *.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
- done; \
+ $(INSTALL_DATA) autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
else \
- for i in $(srcdir)/*.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
- done; \
+ $(INSTALL_DATA) $(srcdir)/autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
fi
uninstall:

View file

@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.1.1.1 2002/10/03 19:25:04 wiz Exp $
--- autoconf.texi.orig Tue Jan 5 14:28:37 1999
+++ autoconf.texi
@@ -4,6 +4,7 @@
@settitle Autoconf
@c For double-sided printing, uncomment:
@c @setchapternewpage odd
+@dircategory Programming & development tools
@c %**end of header
@set EDITION 2.13
@@ -17,7 +18,7 @@
@ifinfo
@format
START-INFO-DIR-ENTRY
-* Autoconf: (autoconf). Create source code configuration scripts.
+* Autoconf-2.13: (autoconf213). Create source code configuration scripts.
END-INFO-DIR-ENTRY
@end format

View file

@ -0,0 +1,22 @@
$NetBSD: patch-ac,v 1.1.1.1 2002/10/03 19:25:04 wiz Exp $
--- autoreconf.sh.orig Tue Jan 5 14:28:40 1999
+++ autoreconf.sh
@@ -143,7 +143,7 @@ while read dir; do
:
else
test $verbose = yes && echo running aclocal in $dir, creating $aclocal
- aclocal --output=$aclocal -I `echo $aclocal | sed 's,/*[^/]*$,,;s,^$,.,'`
+ aclocal-1.4 --output=$aclocal -I `echo $aclocal | sed 's,/*[^/]*$,,;s,^$,.,'`
fi
fi
@@ -154,7 +154,7 @@ while read dir; do
amforce=
test $force = no && amforce=--no-force
test $verbose = yes && echo running automake`test x"$amforce" = x || echo " ($amforce)"` in $dir
- automake $amforce $automake_mode $automake_deps
+ automake-1.4 $amforce $automake_mode $automake_deps
fi
test ! -f $aclocal && aclocal=

View file

@ -0,0 +1,43 @@
# Template build file for 'autoconf213'.
pkgname=autoconf213
version=2.13
revision=1
wrksrc="autoconf-${version}"
hostmakedepends="perl>=0"
short_desc="Generates automatic source code configuration scripts (2.13 version)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, GPL-3"
homepage="http://www.gnu.org/software/autoconf"
distfiles="http://ftp.gnu.org/gnu/autoconf/autoconf-$version.tar.gz"
checksum=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
long_desc="
Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls."
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --program-suffix='-2.13'
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
# Avoid conflict with other versions.
mv ${DESTDIR}/usr/share/autoconf ${DESTDIR}/usr/share/autoconf213
sed -e 's,/usr/share/autoconf,/usr/share/autoconf213,g' -i ${DESTDIR}/usr/bin/*
}
autoconf213_package() {
depends="gawk diffutils m4"
noarch=yes
pkg_install() {
vmove usr
}
}