mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# New ports collection makefile for: automake
|
|
# Date created: 15 March 1997
|
|
# Whom: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= automake
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= automake
|
|
|
|
MAINTAINER= ade@FreeBSD.org
|
|
COMMENT= GNU Standards-compliant Makefile generator (1.5)
|
|
|
|
RUN_DEPENDS= ${AUTOCONF_DEPENDS}
|
|
|
|
USE_AUTOTOOLS= autoconf:253:env
|
|
BUILD_VERSION= 15
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
|
LATEST_LINK= automake${BUILD_VERSION}
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= AUTOCONF=autoconf253 AUTOHEADER=autoheader253 MAKEINFO=makeinfo
|
|
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_REINPLACE= yes
|
|
INFO= automake${BUILD_VERSION}
|
|
|
|
post-patch:
|
|
@(cd ${WRKSRC} && \
|
|
${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,%%BUILD_VERSION%%,${BUILD_VERSION},g; \
|
|
s,%%X11BASE%%,${X11BASE},g' 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>
|