openbsd-ports/textproc/textutils/Makefile
2010-11-20 19:56:47 +00:00

36 lines
882 B
Makefile

# $OpenBSD: Makefile,v 1.13 2010/11/20 19:56:52 espie Exp $
COMMENT= GNU text utilities
DISTNAME= textutils-2.0
REVISION = 0
CATEGORIES= textproc
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_GNU:=textutils/}
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
USE_GROFF = Yes
# gpr -> ggpr to fix a conflict with graphviz
# god -> ggod to fix a conflict with god
post-install:
@[ -x ${PREFIX}/bin/god ] && mv ${PREFIX}/bin/god ${PREFIX}/bin/ggod
@[ -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
@[ -f ${PREFIX}/man/man1/god.1 ] && mv ${PREFIX}/man/man1/god.1 \
${PREFIX}/man/man1/ggod.1
.include <bsd.port.mk>