freebsd-ports/devel/gmake381/Makefile
Mark Linimon dd383e92eb Reassign the autotools-related ports to a new mailing list,
autotools@FreeBSD.org.  This is for individuals willing to put in
the hard work to generate patches and work with portmgr as we put
them through -exp runs and work through port breakage that they
create.  (A huge number of ports depend on these, so -exp runs are
required.)

Thanks to aDe@ for all the thankless work he's done over the years
to tame these beasts.

Hat:		portmgr
2009-12-16 11:21:27 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: GNU make
# Date created: 11 September 1994
# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= gmake
PORTVERSION= 3.81
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= make
DISTNAME= make-${PORTVERSION}
# note: before committing to this port, contact portmgr to arrange for an
# experimental ports run. Untested commits may be backed out at portmgr's
# discretion.
MAINTAINER= autotools@FreeBSD.org
COMMENT= GNU version of 'make' utility
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--program-prefix=g
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB= NLS="@comment "
.endif
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
MAN1= gmake.1
INFO= make
.ifdef USE_GMAKE
.error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
post-patch:
@${RM} ${WRKSRC}/doc/make.info*
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
@${CHMOD} g-s ${PREFIX}/bin/gmake
@chgrp ${BINGRP} ${PREFIX}/bin/gmake
.include <bsd.port.mk>