diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-09-16 10:28:33 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-09-16 10:28:33 +0000 |
commit | ab2da640e4dca06f37030f2ff521fdbd101e3f07 (patch) | |
tree | 03fd974def6cb22b93fa7d6b4ea224820e17b3a1 /devel/autoconf254 | |
parent | 1b17431da4255ad61d82e4d2d4361a6dd043a96d (diff) | |
download | ports-ab2da640e4dca06f37030f2ff521fdbd101e3f07.tar.gz ports-ab2da640e4dca06f37030f2ff521fdbd101e3f07.zip |
Notes
Diffstat (limited to 'devel/autoconf254')
-rw-r--r-- | devel/autoconf254/Makefile | 13 | ||||
-rw-r--r-- | devel/autoconf254/files/patch-bin-autoscan.in | 15 | ||||
-rw-r--r-- | devel/autoconf254/pkg-plist | 7 |
3 files changed, 33 insertions, 2 deletions
diff --git a/devel/autoconf254/Makefile b/devel/autoconf254/Makefile index 29b1d3796059..dab922308e62 100644 --- a/devel/autoconf254/Makefile +++ b/devel/autoconf254/Makefile @@ -7,20 +7,29 @@ PORTNAME= autoconf PORTVERSION= 2.53 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= autoconf MAINTAINER= ports@geeksrus.net -BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ + help2man:${PORTSDIR}/misc/help2man RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 -CONFIGURE_ARGS= --without-lispdir + +.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 GENERIC_TOOLS= config.guess \ config.sub \ diff --git a/devel/autoconf254/files/patch-bin-autoscan.in b/devel/autoconf254/files/patch-bin-autoscan.in new file mode 100644 index 000000000000..68836ffb60bc --- /dev/null +++ b/devel/autoconf254/files/patch-bin-autoscan.in @@ -0,0 +1,15 @@ +--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002 ++++ bin/autoscan.in Mon Sep 16 03:56:50 2002 +@@ -192,7 +192,11 @@ + sub used ($$;$) + { + my ($kind, $word, $where) = @_; +- $where ||= "$File::Find::name:$."; ++ my $lineno = 0; ++ if (defined($.)) { ++ $lineno = $.; ++ } ++ $where ||= "$File::Find::name:$lineno"; + push (@{$used{$kind}{$word}}, $where); + } + diff --git a/devel/autoconf254/pkg-plist b/devel/autoconf254/pkg-plist index fe71c6bd11e8..e9c549f71932 100644 --- a/devel/autoconf254/pkg-plist +++ b/devel/autoconf254/pkg-plist @@ -48,6 +48,13 @@ share/autoconf/m4sugar/version.m4 share/autoconf/mdate-sh share/autoconf/missing share/autoconf/mkinstalldirs +%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.el +%%EMACS%%%%EMACSDIR%%/site-lisp/autoconf-mode.elc +%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.el +%%EMACS%%%%EMACSDIR%%/site-lisp/autotest-mode.elc +@comment directories +%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp +%%EMACS%%@dirrm %%EMACSDIR%% @dirrm share/autoconf/m4sugar @dirrm share/autoconf/autotest @dirrm share/autoconf/autoscan |