diff options
author | lioux <lioux@FreeBSD.org> | 2005-11-28 08:56:13 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2005-11-28 08:56:13 +0800 |
commit | d99154feecaa8bd5613951543877f776e0cf4479 (patch) | |
tree | f8815c65a20cb443eb58bdadb6c09ffc5f9b5785 /multimedia/libdvdcss | |
parent | 5935176bce9997a9b234ea35aa483afa3539e496 (diff) | |
download | freebsd-ports-gnome-d99154feecaa8bd5613951543877f776e0cf4479.tar.gz freebsd-ports-gnome-d99154feecaa8bd5613951543877f776e0cf4479.tar.zst freebsd-ports-gnome-d99154feecaa8bd5613951543877f776e0cf4479.zip |
Only build/install documentation if WITH_DOXYGEN is defined since
the dependency chain is too long. However, do not build under any
circumstances if NOPORTDOCS is defined.
Diffstat (limited to 'multimedia/libdvdcss')
-rw-r--r-- | multimedia/libdvdcss/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile index 66518c205cb6..4c3f7f2197ed 100644 --- a/multimedia/libdvdcss/Makefile +++ b/multimedia/libdvdcss/Makefile @@ -24,12 +24,21 @@ USE_AUTOTOOLS= libtool:15 USE_REINPLACE= yes INSTALLS_SHLIB= yes +.ifndef(WITH_DOXYGEN) +NOPORTDOCS= yes +.endif + .ifndef(NOPORTDOCS) BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen PORTDOCS= * .endif +pre-everything:: +.if !defined(WITH_DOXYGEN) + @${ECHO_MSG} '==> Define WITH_DOXYGEN to build API documentation' +.endif + post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c # should we disable doc building? |