openbsd-ports/textproc/textutils/Makefile

33 lines
798 B
Makefile

# $OpenBSD: Makefile,v 1.3 2002/03/11 22:10:02 lebel Exp $
COMMENT= "GNU text utilities"
DISTNAME= textutils-2.0
CATEGORIES= textproc
NEED_VERSION= 1.460
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}
MASTER_SITE_SUBDIR= 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>