Changeset View
Changeset View
Standalone View
Standalone View
audio/libfishsound/Makefile
Show All 18 Lines | |||||
OPTIONS_DEFINE= DOCS DOXYGEN | OPTIONS_DEFINE= DOCS DOXYGEN | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USES= libtool pathfix pkgconfig | USES= libtool pathfix pkgconfig | ||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} | |||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen | |||||
PORTDOCS= * | PORTDOCS= * | ||||
.endif | |||||
post-patch: | DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen | ||||
.if !${PORT_OPTIONS:MDOCS} || !${PORT_OPTIONS:MDOXYGEN} | DOXYGEN_IMPLIES= DOCS | ||||
post-patch-DOCS-off: | |||||
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |