31 lines
759 B
Makefile
31 lines
759 B
Makefile
# $OpenBSD: Makefile,v 1.5 2002/12/29 20:19:09 fgsch Exp $
|
|
|
|
COMMENT= "GNU text utilities"
|
|
|
|
DISTNAME= textutils-2.0
|
|
CATEGORIES= textproc
|
|
|
|
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>
|