25d26710b1
because mandoc(1) doesn't like them, with the exception of groff_mdoc(7), which is derived from the traditional mdoc.samples(7) and which is just fine with mandoc(1). Problem reported and fix tested by <Pascal dot Stumpf at cubes dot de>. naddy@ and deraadt@ agree with the general direction
34 lines
868 B
Makefile
34 lines
868 B
Makefile
# $OpenBSD: Makefile,v 1.14 2011/10/12 22:00:07 schwarze Exp $
|
|
|
|
COMMENT = GNU troff typesetter
|
|
DISTNAME = groff-1.21
|
|
REVISION = 5
|
|
|
|
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
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --without-libiconv-prefix --without-gs --without-x
|
|
|
|
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>
|