freebsd-ports/textproc/groff/Makefile
Jan Beich cc952b51f9 Drop workaround for qemu-user-static hang after r517350
GSlice as used by qemu-user still aborts due to low RLIMIT_VMEM in an
emulated application but no longer hangs. While the behavior differs
from real hardware it matches the one from before r456518 that was
hardcoded as gl_cv_func_printf_enomem=no workaround.

PR:		224740
2019-11-13 14:32:07 +00:00

57 lines
1.3 KiB
Makefile

# Created by: Ulrich Spoerlein <uqs@FreeBSD.org>
# $FreeBSD$
PORTNAME= groff
PORTVERSION= 1.22.4
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= GNU
MAINTAINER= bapt@FreeBSD.org
COMMENT= Software typesetting package
LICENSE= GPLv3
BUILD_DEPENDS= psselect:print/psutils \
gsfonts>=0:print/gsfonts
LIB_DEPENDS= libuchardet.so:textproc/uchardet
RUN_DEPENDS:= psselect:print/psutils
MAKE_JOBS_UNSAFE= yes
USES= cpe gmake perl5 makeinfo
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-urw-fonts-dir=${LOCALBASE}/share/ghostscript/fonts/ \
--with-awk=/usr/bin/awk \
--without-x \
--without-gs \
pnmcrop=missing \
pnmcut=missing \
pnmtopng=missing \
pnmtops=missing \
psselect=missing
CPE_VENDOR= gnu
# Canonicalize to A4 if set.
.if defined(A4) || (defined(PAPERSIZE) && ${PAPERSIZE:tu} == "A4")
PAPERSIZE=A4
.endif
.if defined(PAPERSIZE)
CONFIGURE_ENV+= PAGE=${PAPERSIZE}
.endif
CONFLICTS= ja-groff-[0-9]*
INFO= groff
DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
EXAMPLESDIR= ${DOCSDIR}/examples
post-install:
${INSTALL_DATA} ${FILESDIR}/mdoc.local ${STAGEDIR}${PREFIX}/share/groff/site-tmac
${REINPLACE_CMD} -i "" -e "s/missing/gs/" ${STAGEDIR}${DATADIR}/font/devhtml/DESC
.include <bsd.port.mk>