Unbreak on FreeBSD < 6.0

PR:		106379 (with minor changes)
Submitted by:	Jonathan Lennox <lennox@cs.columbia.edu>
This commit is contained in:
Ade Lovett 2006-12-05 18:36:17 +00:00
parent 36b2d886a9
commit cfd7ec46dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178958

View file

@ -29,8 +29,15 @@ MAN1= gm4.1
EXAMPLESDIR= share/examples/gm4
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
.endif
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
.include <bsd.port.mk>
.include <bsd.port.post.mk>