3b3128196e
Tested by: numerous package build runs Approved by: portmgr Thanks to: des, kris, linimon, pav
48 lines
1.4 KiB
Makefile
48 lines
1.4 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= 4
|
|
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} \
|
|
automake-wrapper:${PORTSDIR}/devel/automake-wrapper
|
|
|
|
USE_AUTOTOOLS= autoconf:261:env
|
|
BUILD_VERSION= 1.5
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
|
LATEST_LINK= automake15
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
|
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INFO= automake-${BUILD_VERSION}
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/*.info
|
|
@${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake-${BUILD_VERSION}.texi
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|@PACKAGE@$$|@PACKAGE@-@VERSION@|'
|
|
@${REINPLACE_CMD} -e 's|aclocal$$|aclocal-@VERSION@|' \
|
|
${WRKSRC}/m4/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
${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}
|
|
|
|
.include <bsd.port.mk>
|