Lines 29-48
Link Here
|
29 |
|
29 |
|
30 |
OPTIONS_DEFINE= X11 |
30 |
OPTIONS_DEFINE= X11 |
31 |
OPTIONS_DEFAULT=X11 |
31 |
OPTIONS_DEFAULT=X11 |
|
|
32 |
OPTIONS_SUB= X11 |
32 |
|
33 |
|
|
|
34 |
X11_USE= XORG=x11 |
35 |
X11_CONFIGURE_OFF= --with-x=no |
36 |
|
33 |
.include <bsd.port.options.mk> |
37 |
.include <bsd.port.options.mk> |
34 |
|
38 |
|
35 |
.if ${PORT_OPTIONS:MX11} |
|
|
36 |
USE_XORG= x11 |
37 |
PLIST_SUB+= X11="" |
38 |
CONFLICTS+= libwmf-nox11-0.* |
39 |
.else |
40 |
PKGNAMESUFFIX= -nox11 |
41 |
CONFIGURE_ARGS+= --with-x=no |
42 |
PLIST_SUB+= X11="@comment " |
43 |
CONFLICTS+= libwmf-0.* |
44 |
.endif |
45 |
|
46 |
post-patch: |
39 |
post-patch: |
47 |
@${REINPLACE_CMD} -e 's|src include fonts doc|src include fonts|g' \ |
40 |
@${REINPLACE_CMD} -e 's|src include fonts doc|src include fonts|g' \ |
48 |
${WRKSRC}/Makefile.in |
41 |
${WRKSRC}/Makefile.in |