1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/automake19/Makefile
Ade Lovett cbcdcfb3d4 Purge WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN
The versioned autotools are now strictly for building other ports in the tree.
Likewise, the gnu- autotools are for runtime dependencies for IDEs, and others,
where unmodified cross-platform capabilities are desired.
2005-06-16 17:29:45 +00:00

56 lines
1.6 KiB
Makefile

# New ports collection makefile for: automake19
# Date created: 15 Feb 2003
# Whom: Udo Schweigert
#
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.9.5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (1.9)
RUN_DEPENDS= ${AUTOCONF_DEPENDS}
WANT_AUTOCONF_VER=259
BUILD_VERSION= 19
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK= automake${BUILD_VERSION}
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= AUTOCONF=autoconf259 AUTOHEADER=autoheader259 MAKEINFO=makeinfo
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION} \
--infodir=${PREFIX}/info
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
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 \
)
@${REINPLACE_CMD} -e 's,%%X11BASE%%,${X11BASE},g' ${WRKSRC}/aclocal.in
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
.include <bsd.port.mk>