2004-03-15 01:25:58 +00:00
|
|
|
# New ports collection makefile for: automake18
|
2003-02-23 19:59:42 +00:00
|
|
|
# Date created: 15 Feb 2003
|
|
|
|
# Whom: Udo Schweigert
|
1997-05-27 16:40:49 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-05-27 16:40:49 +00:00
|
|
|
#
|
|
|
|
|
2003-06-29 01:58:53 +00:00
|
|
|
PORTNAME= automake
|
2004-08-16 17:48:12 +00:00
|
|
|
PORTVERSION= 1.9.1
|
1997-05-27 16:40:49 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= automake
|
2002-10-15 06:50:50 +00:00
|
|
|
DISTNAME= automake-${PORTVERSION}
|
1997-05-27 16:40:49 +00:00
|
|
|
|
2003-06-09 23:40:13 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
2004-08-05 20:17:27 +00:00
|
|
|
COMMENT= GNU Standards-compliant Makefile generator (version 1.9)
|
1997-05-27 16:40:49 +00:00
|
|
|
|
2004-05-26 21:38:21 +00:00
|
|
|
WANT_AUTOCONF_VER=259
|
|
|
|
WANT_AUTOCONF_RUN=yes
|
2004-08-05 20:17:27 +00:00
|
|
|
BUILD_VERSION= 19
|
2003-06-29 01:58:53 +00:00
|
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
|
|
|
LATEST_LINK= automake${BUILD_VERSION}
|
|
|
|
USE_BZIP2= yes
|
2002-10-15 05:55:37 +00:00
|
|
|
USE_PERL5= yes
|
1997-05-27 16:40:49 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-15 01:25:58 +00:00
|
|
|
CONFIGURE_ENV= AUTOCONF=autoconf259 AUTOHEADER=autoheader259 MAKEINFO=makeinfo
|
2003-06-29 01:58:53 +00:00
|
|
|
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-23 19:59:42 +00:00
|
|
|
USE_REINPLACE= yes
|
1998-12-12 03:59:35 +00:00
|
|
|
|
2003-06-29 01:58:53 +00:00
|
|
|
post-patch:
|
2004-03-15 01:25:58 +00:00
|
|
|
@(cd ${WRKSRC}/doc && \
|
2003-06-29 01:58:53 +00:00
|
|
|
${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 && \
|
2003-06-29 04:16:04 +00:00
|
|
|
${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
|
|
|
|
)
|
2004-07-07 00:56:44 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,%%X11BASE%%,${X11BASE},g' ${WRKSRC}/aclocal.in
|
1997-06-13 06:49:49 +00:00
|
|
|
|
2004-07-29 19:24:26 +00:00
|
|
|
pre-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
|
|
|
|
|
1997-05-27 16:40:49 +00:00
|
|
|
.include <bsd.port.mk>
|