2005-04-23 15:13:54 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2005/04/23 15:13:54 espie Exp $
|
1997-11-18 10:11:05 +00:00
|
|
|
|
2001-03-26 15:58:17 +00:00
|
|
|
COMMENT= "GNU make"
|
2002-10-04 18:06:28 +00:00
|
|
|
|
|
|
|
DISTNAME= make-3.80
|
2005-04-23 14:32:51 +00:00
|
|
|
PKGNAME= g${DISTNAME}p1
|
1997-11-18 10:11:05 +00:00
|
|
|
CATEGORIES= devel
|
2002-05-13 18:50:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
|
1998-10-08 18:21:00 +00:00
|
|
|
|
2000-07-04 01:55:23 +00:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/make/
|
|
|
|
|
2004-08-10 12:42:21 +00:00
|
|
|
MODULES= devel/gettext
|
2000-07-04 01:55:23 +00:00
|
|
|
|
2000-10-22 14:02:46 +00:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1999-08-13 05:01:13 +00:00
|
|
|
|
2000-03-07 01:48:06 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 11:22:00 +00:00
|
|
|
WANTLIB= c
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2005-04-23 15:13:54 +00:00
|
|
|
FAKE=all
|
1999-08-13 05:01:13 +00:00
|
|
|
SEPARATE_BUILD= simple
|
2000-06-30 02:10:09 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-07-04 01:55:23 +00:00
|
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
2005-04-23 15:13:54 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${DEPBASE}/include" \
|
|
|
|
LDFLAGS="-L${DEPBASE}/lib"
|
2003-09-22 23:13:31 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config
|
1997-11-18 10:11:05 +00:00
|
|
|
|
|
|
|
post-install:
|
2002-10-04 18:06:28 +00:00
|
|
|
@chmod ${BINMODE} ${PREFIX}/bin/gmake
|
1999-12-08 02:38:28 +00:00
|
|
|
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake
|
1997-11-18 10:11:05 +00:00
|
|
|
|
2001-10-07 12:15:33 +00: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 10:11:05 +00:00
|
|
|
.include <bsd.port.mk>
|