aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2006-03-05 05:48:21 +0800
committerjoerg <joerg@FreeBSD.org>2006-03-05 05:48:21 +0800
commit7b44cdcf06eb9ceb7079cb35c096b52e4fa03abc (patch)
tree6f923715e5b5bfc1f4fbb5c4b85dcfefd6c5231b /devel
parent526d344a860b23ecf36a9801bf8369cc96594f69 (diff)
downloadfreebsd-ports-gnome-7b44cdcf06eb9ceb7079cb35c096b52e4fa03abc.tar.gz
freebsd-ports-gnome-7b44cdcf06eb9ceb7079cb35c096b52e4fa03abc.tar.zst
freebsd-ports-gnome-7b44cdcf06eb9ceb7079cb35c096b52e4fa03abc.zip
Make the doxygen-dependant part of pkg-plist dynamic, to adapt to the
frequently changing set of files installed by doxygen. Approved by: portmgr (linimon)
Diffstat (limited to 'devel')
-rw-r--r--devel/simulavr/Makefile14
-rw-r--r--devel/simulavr/pkg-plist71
2 files changed, 10 insertions, 75 deletions
diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile
index 4c955b882fc2..eaba87a75860 100644
--- a/devel/simulavr/Makefile
+++ b/devel/simulavr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= simulavr
PORTVERSION= 0.1.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,9 +32,15 @@ CONFIGURE_ARGS= --disable-versioned-doc
MAN1= simulavr.1 simulavr-disp.1
INFO= simulavr
-post-install:
- @${ECHO} "Removing obsolete files after installation:"
- ${RM} -f ${PREFIX}/share/doc/simulavr/html/simulavr_ovr.html
+do-install:
+ ${RM} -f ${TMPPLIST}
+ (cd ${BUILD_WRKSRC}/doc/internals_html && \
+ ${FIND} . -type f \( -name '*.html' -or -name '*.css' \) |\
+ ${SORT} |\
+ ${SED} -e 's|^\.|share/doc/simulavr/internals_html|' \
+ >> ${TMPPLIST})
+ ${CAT} ${PLIST} >> ${TMPPLIST}
+ (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} install)
.include <bsd.port.pre.mk>
diff --git a/devel/simulavr/pkg-plist b/devel/simulavr/pkg-plist
index 1825385d1983..18bd4f88a4f9 100644
--- a/devel/simulavr/pkg-plist
+++ b/devel/simulavr/pkg-plist
@@ -28,77 +28,6 @@ share/doc/simulavr/html/simulavr_10.html
share/doc/simulavr/html/simulavr_11.html
share/doc/simulavr/html/simulavr_abt.html
share/doc/simulavr/html/simulavr_toc.html
-share/doc/simulavr/internals_html/adc_8c-source.html
-share/doc/simulavr/internals_html/adc_8c.html
-share/doc/simulavr/internals_html/avrclass_8c-source.html
-share/doc/simulavr/internals_html/avrclass_8c.html
-share/doc/simulavr/internals_html/avrcore_8c-source.html
-share/doc/simulavr/internals_html/avrcore_8c.html
-share/doc/simulavr/internals_html/avrerror_8c-source.html
-share/doc/simulavr/internals_html/avrerror_8c.html
-share/doc/simulavr/internals_html/avrmalloc_8c-source.html
-share/doc/simulavr/internals_html/avrmalloc_8c.html
-share/doc/simulavr/internals_html/break_watch_pts.html
-share/doc/simulavr/internals_html/callback_8c-source.html
-share/doc/simulavr/internals_html/decoder_8c-source.html
-share/doc/simulavr/internals_html/decoder_8c.html
-share/doc/simulavr/internals_html/deprecated.html
-share/doc/simulavr/internals_html/device_8c-source.html
-share/doc/simulavr/internals_html/device_8c.html
-share/doc/simulavr/internals_html/devsupp_8c-source.html
-share/doc/simulavr/internals_html/devsupp_8c.html
-share/doc/simulavr/internals_html/dir_000000.html
-share/doc/simulavr/internals_html/dirs.html
-share/doc/simulavr/internals_html/display_8c-source.html
-share/doc/simulavr/internals_html/display_8c.html
-share/doc/simulavr/internals_html/dox.css
-share/doc/simulavr/internals_html/eeprom_8c-source.html
-share/doc/simulavr/internals_html/ext_devs.html
-share/doc/simulavr/internals_html/files.html
-share/doc/simulavr/internals_html/flash_8c-source.html
-share/doc/simulavr/internals_html/flash_8c.html
-share/doc/simulavr/internals_html/gdbserver_8c-source.html
-share/doc/simulavr/internals_html/gdbserver_8c.html
-share/doc/simulavr/internals_html/globals.html
-share/doc/simulavr/internals_html/globals_defs.html
-share/doc/simulavr/internals_html/globals_enum.html
-share/doc/simulavr/internals_html/globals_eval.html
-share/doc/simulavr/internals_html/globals_func.html
-share/doc/simulavr/internals_html/globals_vars.html
-share/doc/simulavr/internals_html/index.html
-share/doc/simulavr/internals_html/insn_decoder.html
-share/doc/simulavr/internals_html/interrupts.html
-share/doc/simulavr/internals_html/intvects_8c-source.html
-share/doc/simulavr/internals_html/main.html
-share/doc/simulavr/internals_html/main_8c-source.html
-share/doc/simulavr/internals_html/memory_8c-source.html
-share/doc/simulavr/internals_html/memory_8c.html
-share/doc/simulavr/internals_html/memory_management.html
-share/doc/simulavr/internals_html/object_system.html
-share/doc/simulavr/internals_html/op__names_8c-source.html
-share/doc/simulavr/internals_html/pages.html
-share/doc/simulavr/internals_html/ports_8c-source.html
-share/doc/simulavr/internals_html/ports_8c.html
-share/doc/simulavr/internals_html/register_8c-source.html
-share/doc/simulavr/internals_html/sig_8c-source.html
-share/doc/simulavr/internals_html/sig_8c.html
-share/doc/simulavr/internals_html/spi_8c-source.html
-share/doc/simulavr/internals_html/spi_8c.html
-share/doc/simulavr/internals_html/sram_8c-source.html
-share/doc/simulavr/internals_html/stack_8c-source.html
-share/doc/simulavr/internals_html/stack_8c.html
-share/doc/simulavr/internals_html/storage_8c-source.html
-share/doc/simulavr/internals_html/timers_8c-source.html
-share/doc/simulavr/internals_html/timers_8c.html
-share/doc/simulavr/internals_html/todo.html
-share/doc/simulavr/internals_html/tree.html
-share/doc/simulavr/internals_html/uart_8c-source.html
-share/doc/simulavr/internals_html/uart_8c.html
-share/doc/simulavr/internals_html/usb_8c-source.html
-share/doc/simulavr/internals_html/usb_8c.html
-share/doc/simulavr/internals_html/utils_8c-source.html
-share/doc/simulavr/internals_html/utils_8c.html
-share/doc/simulavr/internals_html/virtual_devs.html
share/doc/simulavr/simulavr.ps
@dirrm share/doc/simulavr/html
@dirrm share/doc/simulavr/internals_html