aboutsummaryrefslogtreecommitdiff
path: root/devel/autoconf26/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/autoconf26/Makefile')
-rw-r--r--devel/autoconf26/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/autoconf26/Makefile b/devel/autoconf26/Makefile
index 29b1d3796059..dab922308e62 100644
--- a/devel/autoconf26/Makefile
+++ b/devel/autoconf26/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 \