2005-04-23 11:13:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2005/04/23 15:13:54 espie Exp $
|
1997-11-18 05:11:05 -05:00
|
|
|
|
2001-03-26 10:58:17 -05:00
|
|
|
COMMENT= "GNU make"
|
2002-10-04 14:06:28 -04:00
|
|
|
|
|
|
|
DISTNAME= make-3.80
|
2005-04-23 10:32:51 -04:00
|
|
|
PKGNAME= g${DISTNAME}p1
|
1997-11-18 05:11:05 -05:00
|
|
|
CATEGORIES= devel
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
|
1998-10-08 14:21:00 -04:00
|
|
|
|
2000-07-03 21:55:23 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/make/
|
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2000-07-03 21:55:23 -04:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1999-08-13 01:01:13 -04:00
|
|
|
|
2000-03-06 20:48:06 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 06:22:00 -05:00
|
|
|
WANTLIB= c
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2005-04-23 11:13:54 -04:00
|
|
|
FAKE=all
|
1999-08-13 01:01:13 -04:00
|
|
|
SEPARATE_BUILD= simple
|
2000-06-29 22:10:09 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-07-03 21:55:23 -04:00
|
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
2005-04-23 11:13:54 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${DEPBASE}/include" \
|
|
|
|
LDFLAGS="-L${DEPBASE}/lib"
|
2003-09-22 19:13:31 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config
|
1997-11-18 05:11:05 -05:00
|
|
|
|
|
|
|
post-install:
|
2002-10-04 14:06:28 -04:00
|
|
|
@chmod ${BINMODE} ${PREFIX}/bin/gmake
|
1999-12-07 21:38:28 -05:00
|
|
|
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake
|
1997-11-18 05:11:05 -05:00
|
|
|
|
2001-10-07 08:15:33 -04:00
|
|
|
# XXX This is the ONE case where we shouldn't be able to cheat on
|
|
|
|
# where HOME is coming from, but we can. Looks like gnu-make is bogus...
|
|
|
|
|
|
|
|
REGRESS_FLAGS=HOME=/
|
|
|
|
|
1997-11-18 05:11:05 -05:00
|
|
|
.include <bsd.port.mk>
|