openbsd-ports/textproc/textutils/Makefile

36 lines
882 B
Makefile
Raw Normal View History

2010-11-20 14:56:47 -05:00
# $OpenBSD: Makefile,v 1.13 2010/11/20 19:56:52 espie Exp $
COMMENT= GNU text utilities
DISTNAME= textutils-2.0
2010-11-20 14:56:47 -05:00
REVISION = 0
CATEGORIES= textproc
2003-11-15 10:12:53 -05:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-06 19:23:20 -05:00
WANTLIB= c
2002-05-13 09:28:07 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=textutils/}
2004-08-10 04:46:49 -04:00
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
2010-11-20 14:56:47 -05:00
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>