aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gmake/Makefile
blob: 120da05987d2baf502c1c4276933aef20f018c41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-prefix=g \
        --with-included-gettext
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LOCALE_H -DHAVE_LC_MESSAGES" \
        LDFLAGS="-L${LOCALBASE}/lib" MAKEINFO="/usr/bin/makeinfo"

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>