svn commit: r499075 - head/textproc/groff
Baptiste Daroussin
bapt at FreeBSD.org
Tue Apr 16 04:23:24 UTC 2019
Author: bapt
Date: Tue Apr 16 04:23:23 2019
New Revision: 499075
URL: https://svnweb.freebsd.org/changeset/ports/499075
Log:
Add a new option URWFONTS
This options allows to disable at build time dependency on gsfonts and
ghostcript, to reduce the number of dependency for minimal setup.
Note that ghostscript and gsfonts are only needed at build time otherwise (mark
ghostscritp as such in any case now) and they are needed for some usage of
gropdf.
Reported by: Zeus Panchenko <zeus at ibs.dn.ua>
Modified:
head/textproc/groff/Makefile
Modified: head/textproc/groff/Makefile
==============================================================================
--- head/textproc/groff/Makefile Tue Apr 16 04:22:57 2019 (r499074)
+++ head/textproc/groff/Makefile Tue Apr 16 04:23:23 2019 (r499075)
@@ -3,6 +3,7 @@
PORTNAME= groff
PORTVERSION= 1.22.4
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= GNU
@@ -11,13 +12,12 @@ COMMENT= Software typesetting package
LICENSE= GPLv3
-BUILD_DEPENDS= gsfonts>=0:print/gsfonts \
- psselect:print/psutils
+BUILD_DEPENDS= psselect:print/psutils
RUN_DEPENDS:= psselect:print/psutils
MAKE_JOBS_UNSAFE= yes
-USES= cpe ghostscript gmake perl5 shebangfix makeinfo
+USES= cpe gmake perl5 shebangfix makeinfo
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-awk=/usr/bin/awk
CONFIGURE_ENV+= PERLPATH=${perl_CMD} # shebangfix
@@ -43,9 +43,10 @@ PAPERSIZE=A4
CONFIGURE_ENV+= PAGE=${PAPERSIZE}
.endif
-OPTIONS_DEFINE= X11
+OPTIONS_DEFINE= X11 URWFONTS
X11_DESC= X11 devices (-TX*) and gxditview
-OPTIONS_DEFAULT= X11
+URWFONTS_DESC= URW fonts support (needed for growpdf)
+OPTIONS_DEFAULT= X11 URWFONTS
CONFLICTS= ja-groff-[0-9]*
@@ -54,6 +55,10 @@ INFO= groff
DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
EXAMPLESDIR= ${DOCSDIR}/examples
+
+URWFONTS_CONFIGURE_OFF= --without-urw-fonts-dir
+URWFONTS_USES= ghostscript:build
+URWFONTS_BUILD_DEPENDS= gsfonts>=0:print/gsfonts
.include <bsd.port.options.mk>
More information about the svn-ports-all
mailing list