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