Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 19:48:48 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339023 - head/multimedia/dvdid
Message-ID:  <201401071948.s07JmmRo063943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Jan  7 19:48:48 2014
New Revision: 339023
URL: http://svnweb.freebsd.org/changeset/ports/339023

Log:
  - Support STAGEDIR
  - Add DOCS Option
  - Change pkg-plist, remove DOCS

Modified:
  head/multimedia/dvdid/Makefile   (contents, props changed)
  head/multimedia/dvdid/pkg-plist   (contents, props changed)

Modified: head/multimedia/dvdid/Makefile
==============================================================================
--- head/multimedia/dvdid/Makefile	Tue Jan  7 19:41:56 2014	(r339022)
+++ head/multimedia/dvdid/Makefile	Tue Jan  7 19:48:48 2014	(r339023)
@@ -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>

Modified: head/multimedia/dvdid/pkg-plist
==============================================================================
--- head/multimedia/dvdid/pkg-plist	Tue Jan  7 19:41:56 2014	(r339022)
+++ head/multimedia/dvdid/pkg-plist	Tue Jan  7 19:48:48 2014	(r339023)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401071948.s07JmmRo063943>