2004-12-06 19:23:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2004/12/07 00:23:23 alek Exp $
|
2001-04-13 20:46:07 -04:00
|
|
|
|
|
|
|
COMMENT= "GNU text utilities"
|
|
|
|
|
|
|
|
DISTNAME= textutils-2.0
|
|
|
|
CATEGORIES= textproc
|
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# GPL
|
2001-04-13 20:46:07 -04:00
|
|
|
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
|
2001-04-13 20:46:07 -04:00
|
|
|
|
2002-05-13 09:28:07 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=textutils/}
|
2001-04-13 20:46:07 -04:00
|
|
|
|
2004-08-10 04:46:49 -04:00
|
|
|
MODULES= devel/gettext
|
2001-04-13 20:46:07 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
|
|
|
|
2002-03-11 17:10:02 -05:00
|
|
|
# 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
|
|
|
|
|
2001-04-13 20:46:07 -04:00
|
|
|
.include <bsd.port.mk>
|