1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/gmake/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: GNU make
# Date created: 11 September 1994
# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= gmake
PORTVERSION= 3.80
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= make
DISTNAME= make-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
.if !defined(WITHOUT_NLS)
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--program-prefix=g
.if !defined(WITHOUT_NLS)
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="/usr/bin/makeinfo --no-split"
MAN1= gmake.1
.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>