openbsd-ports/devel/m4/Makefile
2000-06-15 09:59:58 +00:00

30 lines
906 B
Makefile

# $OpenBSD: Makefile,v 1.13 2000/06/15 09:59:58 fgsch Exp $
# $FreeBSD: Makefile,v 1.7 1997/06/16 08:22:35 max Exp $
DISTNAME= m4-1.4
CATEGORIES= devel
NEED_VERSION= 1.303
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= m4
MAINTAINER= niklas@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# This port does use gnu configure, but uses old autoconf files.
# We can't say USE_AUTOCONF because then we'd get a circular dependency:
# autoconf also requires this version of m4. So we fake up what
# GNU_CONFIGURE would do less the parts that its outdated configure
# doesn't like.
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' --program-prefix=g
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gm4
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4
.include <bsd.port.mk>