2002-12-29 14:49:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2002/12/29 19:49:41 fgsch Exp $
|
2001-04-10 09:33:14 -04:00
|
|
|
|
|
|
|
COMMENT= "GNU command line utilities"
|
2001-03-14 16:53:41 -05:00
|
|
|
|
|
|
|
DISTNAME= sh-utils-2.0
|
|
|
|
CATEGORIES= misc
|
|
|
|
|
2001-04-10 09:33:14 -04:00
|
|
|
MAINTAINER= David Lebel <lebel@openbsd.org>
|
2001-03-14 16:53:41 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 09:28:07 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=sh-utils/}
|
2001-03-14 16:53:41 -05:00
|
|
|
|
2001-09-24 14:05:46 -04:00
|
|
|
MODULES= gettext
|
2001-03-14 16:53:41 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-03-15 19:43:38 -05:00
|
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-03-14 16:53:41 -05:00
|
|
|
|
2001-04-15 17:10:59 -04:00
|
|
|
# since we got a conflict with id-utils regarding the name gid, rename that
|
|
|
|
# binary to ggid.
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@[ -x ${PREFIX}/bin/gid ] && mv ${PREFIX}/bin/gid ${PREFIX}/bin/ggid
|
|
|
|
@[ -f ${PREFIX}/man/man1/gid.1 ] && mv ${PREFIX}/man/man1/gid.1 \
|
|
|
|
${PREFIX}/man/man1/ggid.1
|
|
|
|
|
2001-03-14 16:53:41 -05:00
|
|
|
.include <bsd.port.mk>
|