blob: bb8b196a289a13797747dd0b0a31c9436b5b096d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Created by: Ulrich Spoerlein <uqs@FreeBSD.org>
PORTNAME= groff
PORTVERSION= 1.22.4
PORTREVISION= 4
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 iconv:wchar_t 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= heirloom-doctools ja-groff
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>
|