freebsd-ports/devel/automake14/Makefile
Alan Eldridge 7e254eb576 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 19:42:32 +00:00

57 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= automake14
PORTVERSION= 1.4.5
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
DISTNAME= automake-1.4-p5
MAINTAINER= ports@geeksrus.net
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL5}
CONFIGURE_ARGS= --program-suffix=14
USE_PERL5= yes
USE_REINPLACE= yes
STRIP= # none
.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
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)
post-patch:
@${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake14.texi
@${RM} ${WRKSRC}/*.info* ${WRKSRC}/*.dvi >/dev/null 2>&1 || true
pre-configure:
@${REINPLACE_CMD} -i -e "s,%%X11BASE%%,${X11BASE}," \
${WRKSRC}/aclocal.in
post-install:
@-${RM} -fr ${DESTDIR}${PREFIX}/libexec/automake14
@${MKDIR} ${DESTDIR}${PREFIX}/libexec/automake14
.for i in aclocal automake
@${LN} -s ../../bin/${i}14 \
${DESTDIR}${PREFIX}/libexec/automake14/${i}
.endfor
@install-info ${DESTDIR}${PREFIX}/info/automake14.info \
${DESTDIR}${PREFIX}/info/dir
# temporary
${LN} -s . ${PREFIX}/share/automake14/automake
${LN} -s ../aclocal14 ${PREFIX}/share/automake14/aclocal
.include <bsd.port.mk>