1997-05-27 18:40:49 +02:00
|
|
|
# New ports collection makefile for: automake
|
|
|
|
# Date created: 15 March 1997
|
|
|
|
# Whom: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-05-27 18:40:49 +02:00
|
|
|
#
|
|
|
|
|
2001-10-27 19:09:17 +02:00
|
|
|
PORTNAME= automake14
|
2001-10-08 09:24:07 +02:00
|
|
|
PORTVERSION= 1.4.5
|
1. Bumped portrevision (yes, again, sorry for the thrash).
2. Fixed bug that Knu pointed out, which was the bad dirs were captured
in bsd.port.mk (to be fixed RSN, in testing now). Fixed with the magic
of ... symlinks! (I always thought symlinks to . were lame, and they are,
but sometimes they can get you out of a corner. Temporarily.)
3. The question is, will anything break trying to recursively go down the
tree following symlinks? If so, that tool needs to be fixed. A symlink
to '.' (or '..') just plain should not be followed.
Bottom line is, AUTOCONF_DIR, AUTOMAKE_DIR, & ACLOCAL_DIR work again.
As a side effect of this fix, you can now download the entire internet
onto 1 floppy disk.
2002-10-14 21:42:32 +02:00
|
|
|
PORTREVISION= 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
|
2001-10-27 19:09:17 +02:00
|
|
|
DISTNAME= automake-1.4-p5
|
1997-05-27 18:40:49 +02:00
|
|
|
|
2002-09-16 09:51:45 +02:00
|
|
|
MAINTAINER= ports@geeksrus.net
|
1997-05-27 18:40:49 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-10-13 15:02:26 +02:00
|
|
|
CONFIGURE_ENV= PERL=${PERL5}
|
2002-10-13 14:54:48 +02:00
|
|
|
CONFIGURE_ARGS= --program-suffix=14
|
1998-12-12 04:59:35 +01:00
|
|
|
USE_PERL5= yes
|
2002-09-18 11:41:28 +02:00
|
|
|
USE_REINPLACE= yes
|
1998-12-12 04:59:35 +01:00
|
|
|
|
2001-07-20 20:00:50 +02:00
|
|
|
STRIP= # none
|
1998-09-23 18:13:20 +02:00
|
|
|
|
2002-09-14 15:32:06 +02:00
|
|
|
.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
|
2002-10-13 14:54:48 +02:00
|
|
|
pre-everything:
|
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${ECHO} "You have 'USE_AUTOMAKE' or 'USE_AUTOMAKE_VER' variables"
|
|
|
|
@${ECHO} "defined either in environment or in make(1) arguments."
|
|
|
|
@${ECHO} "Please undefine them and try again."
|
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${FALSE}
|
|
|
|
.endif # defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
|
2002-09-14 15:32:06 +02:00
|
|
|
|
2002-07-10 00:51:45 +02:00
|
|
|
post-patch:
|
2002-09-18 11:41:28 +02:00
|
|
|
@${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake14.texi
|
2002-10-13 14:54:48 +02:00
|
|
|
@${RM} ${WRKSRC}/*.info* ${WRKSRC}/*.dvi >/dev/null 2>&1 || true
|
2002-07-10 00:51:45 +02:00
|
|
|
|
2000-07-15 21:07:48 +02:00
|
|
|
pre-configure:
|
2002-09-18 11:41:28 +02:00
|
|
|
@${REINPLACE_CMD} -i -e "s,%%X11BASE%%,${X11BASE}," \
|
|
|
|
${WRKSRC}/aclocal.in
|
2000-07-15 21:07:48 +02:00
|
|
|
|
1998-09-23 18:13:20 +02:00
|
|
|
post-install:
|
2002-10-13 14:54:48 +02:00
|
|
|
@-${RM} -fr ${DESTDIR}${PREFIX}/libexec/automake14
|
|
|
|
@${MKDIR} ${DESTDIR}${PREFIX}/libexec/automake14
|
2002-07-10 00:51:45 +02:00
|
|
|
.for i in aclocal automake
|
2002-10-13 14:54:48 +02:00
|
|
|
@${LN} -s ../../bin/${i}14 \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/automake14/${i}
|
2002-07-10 00:51:45 +02:00
|
|
|
.endfor
|
2002-10-13 14:54:48 +02:00
|
|
|
@install-info ${DESTDIR}${PREFIX}/info/automake14.info \
|
|
|
|
${DESTDIR}${PREFIX}/info/dir
|
1. Bumped portrevision (yes, again, sorry for the thrash).
2. Fixed bug that Knu pointed out, which was the bad dirs were captured
in bsd.port.mk (to be fixed RSN, in testing now). Fixed with the magic
of ... symlinks! (I always thought symlinks to . were lame, and they are,
but sometimes they can get you out of a corner. Temporarily.)
3. The question is, will anything break trying to recursively go down the
tree following symlinks? If so, that tool needs to be fixed. A symlink
to '.' (or '..') just plain should not be followed.
Bottom line is, AUTOCONF_DIR, AUTOMAKE_DIR, & ACLOCAL_DIR work again.
As a side effect of this fix, you can now download the entire internet
onto 1 floppy disk.
2002-10-14 21:42:32 +02:00
|
|
|
# temporary
|
|
|
|
${LN} -s . ${PREFIX}/share/automake14/automake
|
|
|
|
${LN} -s ../aclocal14 ${PREFIX}/share/automake14/aclocal
|
1997-06-13 08:49:49 +02:00
|
|
|
|
1997-05-27 18:40:49 +02:00
|
|
|
.include <bsd.port.mk>
|