Lines 14-20
Link Here
|
14 |
LIB_DEPENDS= gwenhywfar:${PORTSDIR}/devel/gwenhywfar \ |
14 |
LIB_DEPENDS= gwenhywfar:${PORTSDIR}/devel/gwenhywfar \ |
15 |
gmp:${PORTSDIR}/math/gmp |
15 |
gmp:${PORTSDIR}/math/gmp |
16 |
|
16 |
|
17 |
OPTIONS_DEFINE= DOCS KTOBLZCHECK PAYPAL |
17 |
OPTIONS_DEFINE= DOXYGEN KTOBLZCHECK PAYPAL |
18 |
OPTIONS_DEFAULT= KTOBLZCHECK |
18 |
OPTIONS_DEFAULT= KTOBLZCHECK |
19 |
|
19 |
|
20 |
KTOBLZCHECK_DESC= Enable KtoBlzCheck support |
20 |
KTOBLZCHECK_DESC= Enable KtoBlzCheck support |
Lines 41-47
Link Here
|
41 |
|
41 |
|
42 |
.include <bsd.port.options.mk> |
42 |
.include <bsd.port.options.mk> |
43 |
|
43 |
|
44 |
.if ${PORT_OPTIONS:MDOCS} |
44 |
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} |
45 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ |
45 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ |
46 |
dot:${PORTSDIR}/graphics/graphviz |
46 |
dot:${PORTSDIR}/graphics/graphviz |
47 |
CONFIGURE_ARGS+=--enable-full-doc |
47 |
CONFIGURE_ARGS+=--enable-full-doc |
Lines 64-75
Link Here
|
64 |
${WRKSRC}/Makefile.in |
64 |
${WRKSRC}/Makefile.in |
65 |
|
65 |
|
66 |
post-build: |
66 |
post-build: |
67 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} |
68 |
@cd ${WRKSRC} && ${GMAKE} srcdoc |
68 |
@cd ${WRKSRC} && ${GMAKE} srcdoc |
69 |
.endif |
69 |
.endif |
70 |
|
70 |
|
71 |
post-install: |
71 |
post-install: |
72 |
.if ${PORT_OPTIONS:MDOCS} |
72 |
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} |
73 |
${MKDIR} ${DOCSDIR}/apidoc |
73 |
${MKDIR} ${DOCSDIR}/apidoc |
74 |
cd ${WRKSRC}/apidoc && \ |
74 |
cd ${WRKSRC}/apidoc && \ |
75 |
${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc |
75 |
${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc |