2010-11-20 14:56:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2010/11/20 19:56:52 espie Exp $
|
2001-04-13 20:46:07 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= GNU text utilities
|
2001-04-13 20:46:07 -04:00
|
|
|
|
|
|
|
DISTNAME= textutils-2.0
|
2010-11-20 14:56:47 -05:00
|
|
|
REVISION = 0
|
2001-04-13 20:46:07 -04:00
|
|
|
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"
|
2010-11-20 14:56:47 -05:00
|
|
|
USE_GROFF = Yes
|
2001-04-13 20:46:07 -04:00
|
|
|
|
2009-06-24 20:23:39 -04:00
|
|
|
# gpr -> ggpr to fix a conflict with graphviz
|
|
|
|
# god -> ggod to fix a conflict with god
|
2002-03-11 17:10:02 -05:00
|
|
|
|
|
|
|
post-install:
|
2009-06-24 20:23:39 -04:00
|
|
|
@[ -x ${PREFIX}/bin/god ] && mv ${PREFIX}/bin/god ${PREFIX}/bin/ggod
|
2002-03-11 17:10:02 -05:00
|
|
|
@[ -x ${PREFIX}/bin/gpr ] && mv ${PREFIX}/bin/gpr ${PREFIX}/bin/ggpr
|
|
|
|
@[ -f ${PREFIX}/man/man1/gpr.1 ] && mv ${PREFIX}/man/man1/gpr.1 \
|
2009-06-24 20:23:39 -04:00
|
|
|
${PREFIX}/man/man1/ggpr.1
|
|
|
|
@[ -f ${PREFIX}/man/man1/god.1 ] && mv ${PREFIX}/man/man1/god.1 \
|
|
|
|
${PREFIX}/man/man1/ggod.1
|
2002-03-11 17:10:02 -05:00
|
|
|
|
2001-04-13 20:46:07 -04:00
|
|
|
.include <bsd.port.mk>
|