openbsd-ports/textproc/groff/Makefile
schwarze 54bbdb42f3 In the footers of manuals formatted with groff,
do not print "OpenBSD 5.0" but "OpenBSD ports".
While here, remove some noise from the groff build log.
Bump the groff package.

Technically, this changes the contents of all packages that USE_GROFF,
but please refrain from bumping the world:  Having "OpenBSD 5.0" in
the footers of some ports manual until they are updated the next time,
or until the next libc bump if they aren't, is not a real problem.

string "OpenBSD ports" suggested and patch ok'ed by sthen@
2012-05-28 13:23:28 +00:00

36 lines
921 B
Makefile

# $OpenBSD: Makefile,v 1.18 2012/05/28 13:23:28 schwarze Exp $
COMMENT = GNU troff typesetter
DISTNAME = groff-1.21
REVISION = 8
CATEGORIES = textproc
HOMEPAGE = http://www.gnu.org/software/groff/
MAINTAINER = Ingo Schwarze <schwarze@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m stdc++
MASTER_SITES = ${MASTER_SITE_GNU:=groff/}
MAKE_FLAGS += docdir=${PREFIX}/share/doc/groff \
exampledir=${PREFIX}/share/examples/groff \
ac_cv_path_mkdir=/bin/mkdir
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --without-libiconv-prefix --without-gs --without-x \
--with-awk=awk
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC} ${WRKSRC}/src/libs/gnulib/build-aux
pre-configure:
find ${WRKBUILD} -name \*.pl -type f | \
xargs perl -pi -e 's@^#![[:space:]]*/usr/bin/env[[:space:]]+perl@#!/usr/bin/perl@'
.include <bsd.port.mk>