43 lines
993 B
Makefile
43 lines
993 B
Makefile
# $OpenBSD: Makefile,v 1.31 2004/11/23 11:22:02 espie Exp $
|
|
|
|
COMMENT= "GNU make"
|
|
|
|
DISTNAME= make-3.80
|
|
PKGNAME= g${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/make/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
SEPARATE_BUILD= simple
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
MAKEINFO="makeinfo --no-split"
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config
|
|
|
|
post-extract:
|
|
@rm -f ${WRKSRC}/doc/make.info*
|
|
|
|
post-install:
|
|
@chmod ${BINMODE} ${PREFIX}/bin/gmake
|
|
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake
|
|
|
|
# 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=/
|
|
|
|
.include <bsd.port.mk>
|