openbsd-ports/textproc/textutils/Makefile

35 lines
877 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2009/06/25 00:23:39 jolan Exp $
COMMENT= GNU text utilities
DISTNAME= textutils-2.0
PKGNAME= textutils-2.0p0
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"
# 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>