The doxygen port has a note tucked away at the bottom of a very long DESCR telling you to set DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} to avoid random-looking html filenames (based on md5 of the full path including the port's work directory).
It only affects ports with the random-looking filenames but doesn't harm other doxygen users so I think it makes sense to add a MODULE to set it. How does this look? Is it sane to use this BUILD_DEPENDS? Index: devel/doxygen/doxygen.port.mk =================================================================== RCS file: devel/doxygen/doxygen.port.mk diff -N devel/doxygen/doxygen.port.mk --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/doxygen/doxygen.port.mk 1 Apr 2012 21:34:18 -0000 @@ -0,0 +1,4 @@ +# $OpenBSD$ + +BUILD_DEPENDS += devel/doxygen,no_gui,bootstrap>=1.7.2 +MAKE_ENV += DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} Index: devel/simulavr/Makefile =================================================================== RCS file: /cvs/ports/devel/simulavr/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- devel/simulavr/Makefile 15 Nov 2011 18:55:30 -0000 1.5 +++ devel/simulavr/Makefile 1 Apr 2012 21:34:18 -0000 @@ -24,8 +24,8 @@ CONFIGURE_ARGS+= --enable-curses=yes \ USE_GMAKE= Yes +MODULES= devel/doxygen BUILD_DEPENDS= ${RUN_DEPENDS} \ - devel/doxygen \ textproc/texi2html \ print/texlive/base RUN_DEPENDS= devel/avr/binutils \ Index: graphics/opencv/Makefile =================================================================== RCS file: /cvs/ports/graphics/opencv/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- graphics/opencv/Makefile 5 Dec 2011 09:36:32 -0000 1.11 +++ graphics/opencv/Makefile 1 Apr 2012 21:34:18 -0000 @@ -75,8 +75,8 @@ USE_LIBTOOL= Yes VMEM_WARNING= Yes RUN_DEPENDS-main= math/py-numpy -BUILD_DEPENDS= devel/doxygen \ - math/py-numpy +MODULES= devel/doxygen +BUILD_DEPENDS= math/py-numpy # ATM opencv requires V4L1 compat, ask them to change it, # then see WITH_V4L below. Index: multimedia/gstreamer-0.10/mm/Makefile =================================================================== RCS file: /cvs/ports/multimedia/gstreamer-0.10/mm/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- multimedia/gstreamer-0.10/mm/Makefile 20 Feb 2012 07:59:09 -0000 1.11 +++ multimedia/gstreamer-0.10/mm/Makefile 1 Apr 2012 21:34:18 -0000 @@ -21,11 +21,8 @@ WANTLIB += xml2 z MASTER_SITES = ${MASTER_SITE_GNOME:=sources/${NAME}/${V:C/^([0-9]+\.[0-9]+).*/\1/}/} -MODULES = devel/gettext +MODULES = devel/gettext devel/doxygen -MODPY_RUNDEP = No - -BUILD_DEPENDS = devel/doxygen LIB_DEPENDS = devel/glib2mm \ multimedia/gstreamer-0.10/plugins-base,-cdda \ textproc/libxml++ Index: geo/geos/Makefile =================================================================== RCS file: /cvs/ports/geo/geos/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- geo/geos/Makefile 17 Nov 2010 08:05:12 -0000 1.7 +++ geo/geos/Makefile 1 Apr 2012 21:34:18 -0000 @@ -21,7 +21,7 @@ MASTER_SITES= http://download.osgeo.org EXTRACT_SUFX= .tar.bz2 WANTLIB= m stdc++ -BUILD_DEPENDS= devel/doxygen>=1.7.2 +MODULES= devel/doxygen USE_GMAKE= Yes USE_LIBTOOL= Yes Index: graphics/lensfun/Makefile =================================================================== RCS file: /cvs/ports/graphics/lensfun/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- graphics/lensfun/Makefile 16 Sep 2011 10:02:37 -0000 1.7 +++ graphics/lensfun/Makefile 1 Apr 2012 21:34:18 -0000 @@ -19,10 +19,8 @@ WANTLIB += c glib-2.0 m png stdc++ z MASTER_SITES= ${MASTER_SITE_BERLIOS:=lensfun/} EXTRACT_SUFX= .tar.bz2 -MODULES= lang/python devel/gettext +MODULES= lang/python devel/doxygen devel/gettext MODPY_RUNDEP= No -BUILD_DEPENDS= devel/doxygen>=1.7.2 - LIB_DEPENDS= devel/glib2 \ graphics/png Index: x11/awesome/Makefile =================================================================== RCS file: /cvs/ports/x11/awesome/Makefile,v retrieving revision 1.45 diff -u -p -r1.45 Makefile --- x11/awesome/Makefile 18 Feb 2012 11:24:44 -0000 1.45 +++ x11/awesome/Makefile 1 Apr 2012 21:34:18 -0000 @@ -45,13 +45,13 @@ BUILD_DEPENDS= devel/gperf \ textproc/asciidoc>=8.4.5 \ textproc/xmlto \ graphics/ImageMagick \ - devel/doxygen RUN_DEPENDS= graphics/feh \ misc/rlwrap \ shells/bash MODULES= devel/cmake \ + devel/doxygen \ devel/gettext CONFIGURE_ARGS= -DCOMPRESS_MANPAGES=off Index: devel/libmtp/Makefile =================================================================== RCS file: /cvs/ports/devel/libmtp/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- devel/libmtp/Makefile 1 Apr 2012 21:05:20 -0000 1.19 +++ devel/libmtp/Makefile 1 Apr 2012 21:34:18 -0000 @@ -21,9 +21,7 @@ WANTLIB= c usb pthread usb-1.0 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/} -MODULES= converters/libiconv -BUILD_DEPENDS= devel/doxygen -MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} +MODULES= converters/libiconv devel/doxygen LIB_DEPENDS= devel/libusb-compat USE_LIBTOOL= Yes Index: multimedia/libquicktime/Makefile =================================================================== RCS file: /cvs/ports/multimedia/libquicktime/Makefile,v retrieving revision 1.36 diff -u -p -r1.36 Makefile --- multimedia/libquicktime/Makefile 16 Sep 2011 10:31:23 -0000 1.36 +++ multimedia/libquicktime/Makefile 1 Apr 2012 21:34:18 -0000 @@ -30,8 +30,7 @@ WANTLIB += schroedinger-1.0 sndio speex WANTLIB += vorbis vorbisenc vorbisfile vpx x264 xcb xcb-render WANTLIB += xcb-shm z -MODULES= devel/gettext -BUILD_DEPENDS= devel/doxygen>=1.7.2 +MODULES= devel/gettext devel/doxygen LIB_DEPENDS= audio/faad \ audio/lame \ audio/libvorbis \ @@ -44,8 +43,6 @@ LIB_DEPENDS= audio/faad \ x11/gtk+2 VMEM_WARNING= Yes - -MAKE_ENV= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu Index: textproc/ebook-tools/Makefile =================================================================== RCS file: /cvs/ports/textproc/ebook-tools/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- textproc/ebook-tools/Makefile 29 Mar 2012 13:39:00 -0000 1.2 +++ textproc/ebook-tools/Makefile 1 Apr 2012 21:34:18 -0000 @@ -18,15 +18,12 @@ WANTLIB += c xml2 zip MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ebook-tools/${V}/} -MODULES = devel/cmake -BUILD_DEPENDS = devel/doxygen +MODULES = devel/cmake devel/doxygen LIB_DEPENDS = textproc/libxml \ archivers/libzip \ SEPARATE_BUILD = Yes NO_REGRESS = Yes - -MAKE_ENV= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC} DOCSDIR = ${PREFIX}/share/doc/ebook-tools Index: databases/freetds/Makefile =================================================================== RCS file: /cvs/ports/databases/freetds/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- databases/freetds/Makefile 11 Nov 2011 11:37:54 -0000 1.54 +++ databases/freetds/Makefile 1 Apr 2012 21:34:18 -0000 @@ -24,9 +24,8 @@ MASTER_SITES= http://www.ibiblio.org/pub AUTOCONF_VERSION=2.65 AUTOMAKE_VERSION=1.11 -MODULES= devel/gettext -BUILD_DEPENDS= devel/doxygen,no_gui,bootstrap>=1.7.2 \ - devel/libtool,-ltdl \ +MODULES= devel/gettext devel/doxygen +BUILD_DEPENDS= devel/libtool,-ltdl \ textproc/docbook-dsssl \ textproc/openjade \ ${MODGNU_AUTOCONF_DEPENDS} \