openbsd-ports/misc/sh-utils/Makefile
alek da1a4408c0 - Don't build included libintl or include its headers
- Fix libintl/libiconv detection
- Bump PKGNAME
2005-11-19 01:23:42 +00:00

36 lines
860 B
Makefile

# $OpenBSD: Makefile,v 1.12 2005/11/19 01:23:42 alek Exp $
COMMENT= "GNU command line utilities"
DISTNAME= sh-utils-2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= misc
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
MASTER_SITES= ${MASTER_SITE_GNU:=sh-utils/}
MODULES= devel/gettext
SEPARATE_BUILD= concurrent
USE_GMAKE= 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>