Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= groff |
4 |
PORTNAME= groff |
5 |
PORTVERSION= 1.22.4 |
5 |
PORTVERSION= 1.22.4 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= textproc |
7 |
CATEGORIES= textproc |
7 |
MASTER_SITES= GNU |
8 |
MASTER_SITES= GNU |
8 |
|
9 |
|
Lines 15-23
Link Here
|
15 |
psselect:print/psutils |
16 |
psselect:print/psutils |
16 |
RUN_DEPENDS:= psselect:print/psutils |
17 |
RUN_DEPENDS:= psselect:print/psutils |
17 |
|
18 |
|
|
|
19 |
FLAVORS= x11 nox11 |
20 |
x11_CONFLICTS_INSTALL= groff-nox11 |
21 |
nox11_CONFLICTS_INSTALL= groff |
22 |
nox11_PKGNAMESUFFIX= -nox11 |
23 |
# iconv:wchar_t forces to use GNU iconv. |
24 |
USES= cpe ghostscript gmake perl5 shebangfix makeinfo iconv:wchar_t |
25 |
|
18 |
MAKE_JOBS_UNSAFE= yes |
26 |
MAKE_JOBS_UNSAFE= yes |
19 |
|
27 |
|
20 |
USES= cpe ghostscript gmake perl5 shebangfix makeinfo |
|
|
21 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ARGS+= --with-awk=/usr/bin/awk |
29 |
CONFIGURE_ARGS+= --with-awk=/usr/bin/awk |
23 |
CONFIGURE_ENV+= PERLPATH=${perl_CMD} # shebangfix |
30 |
CONFIGURE_ENV+= PERLPATH=${perl_CMD} # shebangfix |
Lines 38-47
Link Here
|
38 |
CONFIGURE_ENV+= PAGE=${PAPERSIZE} |
45 |
CONFIGURE_ENV+= PAGE=${PAPERSIZE} |
39 |
.endif |
46 |
.endif |
40 |
|
47 |
|
41 |
OPTIONS_DEFINE= X11 |
|
|
42 |
X11_DESC= X11 devices (-TX*) and gxditview |
43 |
OPTIONS_DEFAULT= X11 |
44 |
|
45 |
CONFLICTS= ja-groff-[0-9]* |
48 |
CONFLICTS= ja-groff-[0-9]* |
46 |
|
49 |
|
47 |
INFO= groff |
50 |
INFO= groff |
Lines 52-58
Link Here
|
52 |
|
55 |
|
53 |
.include <bsd.port.options.mk> |
56 |
.include <bsd.port.options.mk> |
54 |
|
57 |
|
55 |
.if ! ${PORT_OPTIONS:MX11} |
58 |
.if ${FLAVOR:U} == nox11 |
56 |
CONFIGURE_ARGS+=--without-x |
59 |
CONFIGURE_ARGS+=--without-x |
57 |
PLIST_SUB+= X11="@comment " |
60 |
PLIST_SUB+= X11="@comment " |
58 |
.if exists(${LOCALBASE}/bin/pnmcut) && exists(${LOCALBASE}/bin/pnmcrop) && \ |
61 |
.if exists(${LOCALBASE}/bin/pnmcut) && exists(${LOCALBASE}/bin/pnmcrop) && \ |
Lines 62-68
Link Here
|
62 |
PLIST_SUB+= HTMLDOCS="@comment " |
65 |
PLIST_SUB+= HTMLDOCS="@comment " |
63 |
.endif |
66 |
.endif |
64 |
.else |
67 |
.else |
65 |
USE_XORG= x11 xaw xmu |
68 |
USE_XORG= x11 xaw xmu sm ice xt |
66 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:graphics/netpbm |
69 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:graphics/netpbm |
67 |
RUN_DEPENDS+= ${LOCALBASE}/bin/pnmtops:graphics/netpbm |
70 |
RUN_DEPENDS+= ${LOCALBASE}/bin/pnmtops:graphics/netpbm |
68 |
CONFIGURE_ARGS+=--with-x --with-appresdir=${PREFIX}/lib/X11/app-defaults |
71 |
CONFIGURE_ARGS+=--with-x --with-appresdir=${PREFIX}/lib/X11/app-defaults |