38 lines
866 B
Makefile
Raw Normal View History

2010-11-19 07:23:05 +00:00
# $OpenBSD: Makefile,v 1.16 2010/11/19 07:23:12 espie Exp $
COMMENT= GNU command line utilities
DISTNAME= sh-utils-2.0
2010-11-05 08:24:49 +00:00
REVISION= 0
CATEGORIES= misc
2004-09-15 00:40:23 +00:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-05 08:24:49 +00:00
2004-12-22 11:48:32 +00:00
WANTLIB= c m
2002-05-13 13:28:07 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=sh-utils/}
2004-08-10 09:48:17 +00:00
MODULES= devel/gettext
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
2010-11-19 07:23:05 +00:00
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# 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
.include <bsd.port.mk>