Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= spandsp |
3 |
PORTNAME= spandsp |
4 |
DISTVERSION= 0.0.6pre21 |
4 |
DISTVERSION= 0.0.6pre21 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= comms |
6 |
CATEGORIES= comms |
6 |
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/ |
7 |
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/ |
7 |
PKGNAMESUFFIX= -devel |
8 |
PKGNAMESUFFIX= -devel |
Lines 28-47
Link Here
|
28 |
|
29 |
|
29 |
OPTIONS_DEFINE= DOXYGEN |
30 |
OPTIONS_DEFINE= DOXYGEN |
30 |
|
31 |
|
|
|
32 |
PORTDOCS= * |
33 |
|
31 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
32 |
|
35 |
|
33 |
.if ${PORT_OPTIONS:MDOXYGEN} |
36 |
.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} |
34 |
CONFIGURE_ARGS+=--enable-doc |
37 |
CONFIGURE_ARGS+=--enable-doc |
35 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ |
38 |
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ |
36 |
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl |
39 |
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl |
37 |
USE_GNOME+= libxslt |
40 |
USE_GNOME+= libxslt |
38 |
PORTDOCS= * |
|
|
39 |
.else |
41 |
.else |
40 |
CONFIGURE_ARGS+=--disable-doc |
42 |
CONFIGURE_ARGS+=--disable-doc |
41 |
.endif |
43 |
.endif |
42 |
|
44 |
|
43 |
post-install: |
45 |
post-install: |
44 |
.if ${PORT_OPTIONS:MDOXYGEN} |
46 |
.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} |
45 |
${MKDIR} ${DOCSDIR} |
47 |
${MKDIR} ${DOCSDIR} |
46 |
(cd ${WRKSRC}/doc && \ |
48 |
(cd ${WRKSRC}/doc && \ |
47 |
${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1") |
49 |
${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1") |