aboutsummaryrefslogtreecommitdiffstats
path: root/devel/automake19/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/automake19/Makefile')
-rw-r--r--devel/automake19/Makefile39
1 files changed, 15 insertions, 24 deletions
diff --git a/devel/automake19/Makefile b/devel/automake19/Makefile
index 1bf11a36f33d..1e9c1e62fc06 100644
--- a/devel/automake19/Makefile
+++ b/devel/automake19/Makefile
@@ -7,7 +7,7 @@
PORTNAME= automake
PORTVERSION= 1.9.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
@@ -16,38 +16,29 @@ DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (1.9)
-RUN_DEPENDS= ${AUTOCONF_DEPENDS}
+RUN_DEPENDS= ${AUTOCONF_DEPENDS} \
+ automake-wrapper:${PORTSDIR}/devel/automake-wrapper
-USE_AUTOTOOLS= autoconf:259:env
-BUILD_VERSION= 19
+USE_AUTOTOOLS= autoconf:261:env
+BUILD_VERSION= 1.9
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
-LATEST_LINK= automake${BUILD_VERSION}
+LATEST_LINK= automake19
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= AUTOCONF=autoconf259 AUTOHEADER=autoheader259 MAKEINFO=makeinfo
-CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
+CONFIGURE_ENV= MAKEINFO"=makeinfo --no-split"
+CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-INFO= automake${BUILD_VERSION}
+INFO= automake-${BUILD_VERSION}
post-patch:
- @(cd ${WRKSRC}/doc && \
- ${RM} -f *.info && \
- ${MV} automake.texi automake${BUILD_VERSION}.texi && \
- ${REINPLACE_CMD} -E 's,(automake)\.(info),\1${BUILD_VERSION}\.\2,g' automake${BUILD_VERSION}.texi && \
- ${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
- )
+ @${RM} ${WRKSRC}/doc/*.info
+ @${MV} ${WRKSRC}/doc/automake.texi \
+ ${WRKSRC}/doc/automake-${BUILD_VERSION}.texi
pre-su-install:
- @${RM} -fr ${PREFIX}/share/automake${BUILD_VERSION}
- @${MKDIR} ${PREFIX}/share/automake${BUILD_VERSION}
- @${MKDIR} ${PREFIX}/share/aclocal${BUILD_VERSION}
- @${MKDIR} ${PREFIX}/libexec/automake${BUILD_VERSION}
-
-post-install:
-.for i in aclocal automake
- @${LN} -sf ${PREFIX}/bin/${i}${BUILD_VERSION} \
- ${PREFIX}/libexec/automake${BUILD_VERSION}/${i}
-.endfor
+ @${RM} -fr ${PREFIX}/share/automake-${BUILD_VERSION}
+ @${MKDIR} ${PREFIX}/share/automake-${BUILD_VERSION}
+ @${MKDIR} ${PREFIX}/share/aclocal-${BUILD_VERSION}
.include <bsd.port.mk>