openbsd-ports/textproc/textutils/Makefile
2002-05-13 13:28:07 +00:00

32 lines
780 B
Makefile

# $OpenBSD: Makefile,v 1.4 2002/05/13 13:28:08 lebel Exp $
COMMENT= "GNU text utilities"
DISTNAME= textutils-2.0
CATEGORIES= textproc
NEED_VERSION= 1.528
MAINTAINER= David Lebel <lebel@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=textutils/}
MODULES= gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
# since we got a conflict with graphviz regarding the name gpr, rename that
# binary to ggpr
post-install:
@[ -x ${PREFIX}/bin/gpr ] && mv ${PREFIX}/bin/gpr ${PREFIX}/bin/ggpr
@[ -f ${PREFIX}/man/man1/gpr.1 ] && mv ${PREFIX}/man/man1/gpr.1 \
${PREFIX}/man/man1/ggpr.1
.include <bsd.port.mk>