diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-08 03:48:48 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-08 03:48:48 +0800 |
commit | bb7d18ec8a127bd0cbb8a59d8344b4da0b25e703 (patch) | |
tree | 879a673ee35c982861187d6072df46128af2ae14 /multimedia | |
parent | b18362837b6f03ee5c9377f99c56c08df2aacade (diff) | |
download | freebsd-ports-gnome-bb7d18ec8a127bd0cbb8a59d8344b4da0b25e703.tar.gz freebsd-ports-gnome-bb7d18ec8a127bd0cbb8a59d8344b4da0b25e703.tar.zst freebsd-ports-gnome-bb7d18ec8a127bd0cbb8a59d8344b4da0b25e703.zip |
- Support STAGEDIR
- Add DOCS Option
- Change pkg-plist, remove DOCS
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/dvdid/Makefile | 16 | ||||
-rw-r--r-- | multimedia/dvdid/pkg-plist | 30 |
2 files changed, 8 insertions, 38 deletions
diff --git a/multimedia/dvdid/Makefile b/multimedia/dvdid/Makefile index 8e6bd4e48368..41d04a005895 100644 --- a/multimedia/dvdid/Makefile +++ b/multimedia/dvdid/Makefile @@ -12,18 +12,18 @@ COMMENT= Tool for calculating dvdids GNU_CONFIGURE= yes USE_LDCONFIG= yes -NO_STAGE= yes -.include <bsd.port.options.mk> +PORTDOCS= * + +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc && ${INSTALL_DATA} dvdid.tag ${DOCSDIR} - @${MKDIR} ${DOCSDIR}/html/api - cd ${WRKSRC}/doc/html/api && ${INSTALL_DATA} * ${DOCSDIR}/html/api -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${INSTALL_DATA} dvdid.tag ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/api + cd ${WRKSRC}/doc/html/api && ${INSTALL_DATA} * \ + ${STAGEDIR}${DOCSDIR}/html/api .include <bsd.port.mk> diff --git a/multimedia/dvdid/pkg-plist b/multimedia/dvdid/pkg-plist index 5ae9e726c860..4e1258cd5aec 100644 --- a/multimedia/dvdid/pkg-plist +++ b/multimedia/dvdid/pkg-plist @@ -6,34 +6,4 @@ lib/libdvdid.a lib/libdvdid.la lib/libdvdid.so lib/libdvdid.so.1 -%%PORTDOCS%%%%DOCSDIR%%/dvdid.tag -%%PORTDOCS%%%%DOCSDIR%%/html/api/annotated.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/classes.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/doxygen.css -%%PORTDOCS%%%%DOCSDIR%%/html/api/doxygen.png -%%PORTDOCS%%%%DOCSDIR%%/html/api/dvdid2_8h.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/dvdid2_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/dvdid_8h.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/dvdid_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/export_8h.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/export_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/files.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/functions.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/functions_vars.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_defs.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_enum.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_eval.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_func.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_type.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/globals_vars.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/index.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/structdvdid__fileinfo__s.html -%%PORTDOCS%%%%DOCSDIR%%/html/api/tab_b.gif -%%PORTDOCS%%%%DOCSDIR%%/html/api/tab_l.gif -%%PORTDOCS%%%%DOCSDIR%%/html/api/tab_r.gif -%%PORTDOCS%%%%DOCSDIR%%/html/api/tabs.css -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/api -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/dvdid |