diff options
author | Ade Lovett <ade@FreeBSD.org> | 2003-06-29 01:45:09 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2003-06-29 01:45:09 +0000 |
commit | 85e8ed21ea7377174b1d691dff4eeee35ce53dd8 (patch) | |
tree | e9f8ae4728153410277c9669c8b7e415090712f8 /devel/autoconf259 | |
parent | 0e17c510f205b8416af0ac0103fb81c67629a5c8 (diff) | |
download | ports-85e8ed21ea7377174b1d691dff4eeee35ce53dd8.tar.gz ports-85e8ed21ea7377174b1d691dff4eeee35ce53dd8.zip |
Notes
Diffstat (limited to 'devel/autoconf259')
-rw-r--r-- | devel/autoconf259/Makefile | 51 | ||||
-rw-r--r-- | devel/autoconf259/files/manpages.mk | 7 | ||||
-rw-r--r-- | devel/autoconf259/files/patch-autoconf.texi | 23 | ||||
-rw-r--r-- | devel/autoconf259/files/patch-configure | 11 | ||||
-rw-r--r-- | devel/autoconf259/files/patch-doc:Makefile.in | 23 | ||||
-rw-r--r-- | devel/autoconf259/files/patch-standards.texi | 19 | ||||
-rw-r--r-- | devel/autoconf259/pkg-plist | 111 |
7 files changed, 128 insertions, 117 deletions
diff --git a/devel/autoconf259/Makefile b/devel/autoconf259/Makefile index d2b41efd550b..888fa6bc9901 100644 --- a/devel/autoconf259/Makefile +++ b/devel/autoconf259/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTNAME= autoconf257 +PORTNAME= autoconf PORTVERSION= 2.57 PORTREVISION= 0 CATEGORIES= devel @@ -20,32 +20,26 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ help2man:${PORTSDIR}/misc/help2man RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 +BUILD_VERSION= 257 +PLIST_SUB= BUILD_VERSION=${BUILD_VERSION} +LATEST_LINK= autoconf${BUILD_VERSION} USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= CONFIG_SHELL=${SH} CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4 -CONFIGURE_ARGS= --program-suffix=257 +CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION} --without-lispdir +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -.if ${PORTNAME} == "autoconf" -.if exists(${LOCALBASE}/bin/emacs) -PLIST_SUB+= EMACS="" EMACSDIR=share/emacs -.elif exists(${LOCALBASE}/bin/xemacs) -PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs -.else -PLIST_SUB+= EMACS="@comment " EMACSDIR="" -.endif # no emacs found -.endif # ${PORTNAME} == "autoconf" +GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh \ + missing mkinstalldirs -GENERIC_TOOLS= config.guess \ - config.sub \ - elisp-comp \ - install-sh \ - mdate-sh \ - missing \ - mkinstalldirs +MAN1_PAGES= autoconf autoheader autom4te autoreconf autoscan \ + autoupdate config.guess config.sub ifnames +MAN1= ${MAN1_PAGES:S/$/${BUILD_VERSION}.1/g} .if defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER) pre-everything:: @@ -57,12 +51,23 @@ pre-everything:: @${FALSE} .endif # defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER) +post-patch: + @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1${BUILD_VERSION},' configure) + @(cd ${WRKSRC}/man && \ + for file in *.[1x]; do \ + ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2${BUILD_VERSION},g ; \ + s,(config\.guess|config\.sub|ifnames),\1${BUILD_VERSION},g' $$file ; \ + done) + @(cd ${WRKSRC}/doc && \ + ${RM} -f *.info && \ + ${MV} autoconf.texi autoconf${BUILD_VERSION}.texi && \ + ${MV} standards.texi standards${BUILD_VERSION}.texi && \ + ${REINPLACE_CMD} -E 's,(autoconf)\),\1${BUILD_VERSION}\),g' autoconf${BUILD_VERSION}.texi && \ + ${REINPLACE_CMD} -E 's,(autoconf|standards)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in) + post-install: - ${MKDIR} ${PREFIX}/share/autoconf257 .for FILE in ${GENERIC_TOOLS} - ${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf257 + ${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf${BUILD_VERSION} .endfor -.include <bsd.port.pre.mk> -.include "${FILESDIR}/manpages.mk" -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/autoconf259/files/manpages.mk b/devel/autoconf259/files/manpages.mk deleted file mode 100644 index 89f0c821598b..000000000000 --- a/devel/autoconf259/files/manpages.mk +++ /dev/null @@ -1,7 +0,0 @@ -MAN1= autoconf257.1 \ - autoreconf257.1 \ - autoheader257.1 \ - autoupdate257.1 \ - ifnames257.1 \ - autoscan257.1 \ - autom4te257.1 diff --git a/devel/autoconf259/files/patch-autoconf.texi b/devel/autoconf259/files/patch-autoconf.texi new file mode 100644 index 000000000000..50e1e8e7acab --- /dev/null +++ b/devel/autoconf259/files/patch-autoconf.texi @@ -0,0 +1,23 @@ +--- doc/autoconf.texi.orig Tue Dec 3 07:16:32 2002 ++++ doc/autoconf.texi Sun Jun 1 19:17:51 2003 +@@ -1,9 +1,9 @@ + \input texinfo @c -*-texinfo-*- + @comment ======================================================== + @comment %**start of header +-@setfilename autoconf.info ++@setfilename autoconf257.info + @include version.texi +-@settitle Autoconf ++@settitle Autoconf257 + @setchapternewpage odd + @setcontentsaftertitlepage + @finalout +@@ -97,7 +97,7 @@ + + @dircategory GNU programming tools + @direntry +-* Autoconf: (autoconf). Create source code configuration scripts ++* Autoconf257: (autoconf257). Create source code configuration scripts + @end direntry + + @dircategory Individual utilities diff --git a/devel/autoconf259/files/patch-configure b/devel/autoconf259/files/patch-configure deleted file mode 100644 index 9318d22ab266..000000000000 --- a/devel/autoconf259/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Wed Jun 18 21:54:44 2003 -+++ configure Wed Jun 18 21:55:06 2003 -@@ -1475,7 +1475,7 @@ - - - # Define the identity of the package. -- PACKAGE=autoconf -+ PACKAGE=autoconf257 - VERSION=2.57 - - diff --git a/devel/autoconf259/files/patch-doc:Makefile.in b/devel/autoconf259/files/patch-doc:Makefile.in deleted file mode 100644 index 18587ebe9d36..000000000000 --- a/devel/autoconf259/files/patch-doc:Makefile.in +++ /dev/null @@ -1,23 +0,0 @@ ---- doc/Makefile.in.orig Wed Jun 18 22:18:17 2003 -+++ doc/Makefile.in Wed Jun 18 22:19:32 2003 -@@ -113,7 +113,7 @@ - DIST_SOURCES = - TEXINFO_TEX = $(top_srcdir)/config/texinfo.tex - am__TEXINFO_TEX_DIR = $(top_srcdir)/config --INFO_DEPS = autoconf.info standards.info -+INFO_DEPS = - DVIS = autoconf.dvi standards.dvi - PDFS = autoconf.pdf standards.pdf - PSS = autoconf.ps standards.ps -@@ -121,6 +121,11 @@ - DIST_COMMON = $(autoconf_TEXINFOS) $(standards_TEXINFOS) Makefile.am \ - Makefile.in stamp-vti version.texi - all: all-am -+ -+autoconf257.info: autoconf.info -+ cp autoconf.info autoconf257.info -+standards257.info: standards.info -+ cp standards.info standards257.info - - .SUFFIXES: - .SUFFIXES: .dvi .info .pdf .ps .texi diff --git a/devel/autoconf259/files/patch-standards.texi b/devel/autoconf259/files/patch-standards.texi new file mode 100644 index 000000000000..51c669fafb1b --- /dev/null +++ b/devel/autoconf259/files/patch-standards.texi @@ -0,0 +1,19 @@ +--- doc/standards.texi.orig Sun Jun 1 18:52:56 2003 ++++ doc/standards.texi Sun Jun 1 18:54:00 2003 +@@ -1,6 +1,6 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header +-@setfilename standards.info ++@setfilename standards257.info + @settitle GNU Coding Standards + @c This date is automagically updated when you save this file: + @set lastupdate November 23, 2002 +@@ -8,7 +8,7 @@ + + @dircategory GNU organization + @direntry +-* Standards: (standards). GNU coding standards. ++* Standards257: (standards257). GNU coding standards. + @end direntry + + @c @setchapternewpage odd diff --git a/devel/autoconf259/pkg-plist b/devel/autoconf259/pkg-plist index 42e7438c75ea..26f1b36ec1cc 100644 --- a/devel/autoconf259/pkg-plist +++ b/devel/autoconf259/pkg-plist @@ -1,53 +1,58 @@ -bin/autoconf257 -bin/autoheader257 -bin/autom4te257 -bin/autoreconf257 -bin/autoscan257 -bin/autoupdate257 -bin/ifnames257 -share/autoconf257/Autom4te/General.pm -share/autoconf257/Autom4te/Struct.pm -share/autoconf257/Autom4te/XFile.pm -share/autoconf257/INSTALL -share/autoconf257/autoconf/autoconf.m4 -share/autoconf257/autoconf/autoconf.m4f -share/autoconf257/autoconf/autoheader.m4 -share/autoconf257/autoconf/autoscan.m4 -share/autoconf257/autoconf/autotest.m4 -share/autoconf257/autoconf/autoupdate.m4 -share/autoconf257/autoconf/c.m4 -share/autoconf257/autoconf/fortran.m4 -share/autoconf257/autoconf/functions.m4 -share/autoconf257/autoconf/general.m4 -share/autoconf257/autoconf/headers.m4 -share/autoconf257/autoconf/lang.m4 -share/autoconf257/autoconf/libs.m4 -share/autoconf257/autoconf/oldnames.m4 -share/autoconf257/autoconf/programs.m4 -share/autoconf257/autoconf/specific.m4 -share/autoconf257/autoconf/status.m4 -share/autoconf257/autoconf/types.m4 -share/autoconf257/autom4te.cfg -share/autoconf257/autoscan/autoscan.list -share/autoconf257/autotest/autotest.m4 -share/autoconf257/autotest/autotest.m4f -share/autoconf257/autotest/general.m4 -share/autoconf257/config.guess -share/autoconf257/config.sub -share/autoconf257/elisp-comp -share/autoconf257/install-sh -share/autoconf257/m4sugar/m4sh.m4 -share/autoconf257/m4sugar/m4sh.m4f -share/autoconf257/m4sugar/m4sugar.m4 -share/autoconf257/m4sugar/m4sugar.m4f -share/autoconf257/m4sugar/version.m4 -share/autoconf257/mdate-sh -share/autoconf257/missing -share/autoconf257/mkinstalldirs -@dirrm share/autoconf257/m4sugar -@dirrm share/autoconf257/autotest -@dirrm share/autoconf257/autoscan -@dirrm share/autoconf257/autoconf -@dirrm share/autoconf257/Autom4te -@dirrm share/autoconf257 -@unexec rmdir %D/info 2>/dev/null || true +bin/autoconf%%BUILD_VERSION%% +bin/autoheader%%BUILD_VERSION%% +bin/autom4te%%BUILD_VERSION%% +bin/autoreconf%%BUILD_VERSION%% +bin/autoscan%%BUILD_VERSION%% +bin/autoupdate%%BUILD_VERSION%% +bin/ifnames%%BUILD_VERSION%% +@unexec install-info --delete %D/info/autoconf%%BUILD_VERSION%%.info %D/info/dir +@unexec install-info --delete %D/info/standards%%BUILD_VERSION%%.info %D/info/dir +info/autoconf%%BUILD_VERSION%%.info +info/standards%%BUILD_VERSION%%.info +@exec install-info %D/info/autoconf%%BUILD_VERSION%%.info %D/info/dir +@exec install-info %D/info/standards%%BUILD_VERSION%%.info %D/info/dir +share/autoconf%%BUILD_VERSION%%/Autom4te/General.pm +share/autoconf%%BUILD_VERSION%%/Autom4te/Struct.pm +share/autoconf%%BUILD_VERSION%%/Autom4te/XFile.pm +share/autoconf%%BUILD_VERSION%%/INSTALL +share/autoconf%%BUILD_VERSION%%/autoconf/autoconf.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/autoconf.m4f +share/autoconf%%BUILD_VERSION%%/autoconf/autoheader.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/autoscan.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/autotest.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/autoupdate.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/c.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/fortran.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/functions.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/general.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/headers.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/lang.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/libs.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/oldnames.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/programs.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/specific.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/status.m4 +share/autoconf%%BUILD_VERSION%%/autoconf/types.m4 +share/autoconf%%BUILD_VERSION%%/autom4te.cfg +share/autoconf%%BUILD_VERSION%%/autoscan/autoscan.list +share/autoconf%%BUILD_VERSION%%/autotest/autotest.m4 +share/autoconf%%BUILD_VERSION%%/autotest/autotest.m4f +share/autoconf%%BUILD_VERSION%%/autotest/general.m4 +share/autoconf%%BUILD_VERSION%%/config.guess +share/autoconf%%BUILD_VERSION%%/config.sub +share/autoconf%%BUILD_VERSION%%/elisp-comp +share/autoconf%%BUILD_VERSION%%/install-sh +share/autoconf%%BUILD_VERSION%%/m4sugar/m4sh.m4 +share/autoconf%%BUILD_VERSION%%/m4sugar/m4sh.m4f +share/autoconf%%BUILD_VERSION%%/m4sugar/m4sugar.m4 +share/autoconf%%BUILD_VERSION%%/m4sugar/m4sugar.m4f +share/autoconf%%BUILD_VERSION%%/m4sugar/version.m4 +share/autoconf%%BUILD_VERSION%%/mdate-sh +share/autoconf%%BUILD_VERSION%%/missing +share/autoconf%%BUILD_VERSION%%/mkinstalldirs +@dirrm share/autoconf%%BUILD_VERSION%%/m4sugar +@dirrm share/autoconf%%BUILD_VERSION%%/autotest +@dirrm share/autoconf%%BUILD_VERSION%%/autoscan +@dirrm share/autoconf%%BUILD_VERSION%%/autoconf +@dirrm share/autoconf%%BUILD_VERSION%%/Autom4te +@dirrm share/autoconf%%BUILD_VERSION%% |