Lines 31-52
WRKSRC_SUBDIR= gettext-tools
Link Here
|
31 |
CPE_PRODUCT= gettext |
31 |
CPE_PRODUCT= gettext |
32 |
CPE_VENDOR= gnu |
32 |
CPE_VENDOR= gnu |
33 |
|
33 |
|
34 |
OPTIONS_DEFINE= DOCS |
34 |
OPTIONS_DEFINE= DOCS THREADS |
|
|
35 |
OPTIONS_DEFAULT=THREADS |
36 |
OPTIONS_EXCLUDE_DragonFly= THREADS |
35 |
|
37 |
|
36 |
.include <bsd.port.options.mk> |
38 |
DOCS_INFO= gettext |
37 |
|
39 |
|
38 |
.if ${PORT_OPTIONS:MDOCS} |
40 |
THREADS_CONFIGURE_ENABLE= threads |
39 |
INFO+= gettext |
|
|
40 |
.endif |
41 |
|
41 |
|
42 |
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 900506) |
42 |
post-patch-DOCS-off: |
43 |
CONFIGURE_ARGS+=--disable-threads |
43 |
@${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in |
44 |
.endif |
|
|
45 |
|
44 |
|
46 |
post-patch: |
45 |
post-patch: |
47 |
.if ! ${PORT_OPTIONS:MDOCS} |
|
|
48 |
@${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in |
49 |
.endif |
50 |
# Exclude examples and gnulib-tests. |
46 |
# Exclude examples and gnulib-tests. |
51 |
@${REINPLACE_CMD} -E '/^SUBDIRS =/s/(examples|gnulib-tests)//g' \ |
47 |
@${REINPLACE_CMD} -E '/^SUBDIRS =/s/(examples|gnulib-tests)//g' \ |
52 |
${WRKSRC}/Makefile.in |
48 |
${WRKSRC}/Makefile.in |