freebsd-ports/devel/gnu-automake/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: automake18
# Date created: 15 Feb 2003
# Whom: Udo Schweigert
#
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.10
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
PKGNAMEPREFIX= gnu-
DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (GNU unmodified)
BUILD_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf
RUN_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf
PREFIX?= ${LOCALBASE}/gnu-autotools
USE_BZIP2= yes
INFO= automake
USE_PERL5= yes
GNU_CONFIGURE= yes
NO_MTREE= yes
CONFIGURE_ENV= AUTOCONF=${LOCALBASE}/gnu-autotools/bin/autoconf \
AUTOHEADER=${LOCALBASE}/gnu-autotools/bin/autoheader \
MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= VERSION=1.10
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
MAKEINFO= ${LOCALBASE}/bin/makeinfo
BUILD_DEPENDS+= ${MAKEINFO}:${PORTSDIR}/print/texinfo
.else
MAKEINFO= makeinfo
.endif
post-patch:
@(cd ${WRKSRC}/doc && ${RM} -f *.info*)
.include <bsd.port.post.mk>