Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 16:45:13 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436777 - head/www/varnish-modules
Message-ID:  <201703231645.v2NGjDiA003277@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Mar 23 16:45:13 2017
New Revision: 436777
URL: https://svnweb.freebsd.org/changeset/ports/436777

Log:
  Install docs too.
  
  Approved by:	feld
  Sponsored by:	Absolight

Modified:
  head/www/varnish-modules/Makefile   (contents, props changed)
  head/www/varnish-modules/pkg-plist   (contents, props changed)

Modified: head/www/varnish-modules/Makefile
==============================================================================
--- head/www/varnish-modules/Makefile	Thu Mar 23 16:17:11 2017	(r436776)
+++ head/www/varnish-modules/Makefile	Thu Mar 23 16:45:13 2017	(r436777)
@@ -4,7 +4,7 @@
 PORTNAME=	varnish-modules
 DISTVERSIONPREFIX=	varnish-modules-
 DISTVERSION=	0.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 
 MAINTAINER=	feld@FreeBSD.org
@@ -24,7 +24,14 @@ GH_ACCOUNT=	varnish
 
 MAKE_JOBS_UNSAFE=	yes
 
+OPTIONS_DEFINE=	DOCS
+PORTDOCS=	*
+
 pre-configure:
 	cd ${WRKSRC} && ./bootstrap
 
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not -regex .*.man.rst'
+
 .include <bsd.port.mk>

Modified: head/www/varnish-modules/pkg-plist
==============================================================================
--- head/www/varnish-modules/pkg-plist	Thu Mar 23 16:17:11 2017	(r436776)
+++ head/www/varnish-modules/pkg-plist	Thu Mar 23 16:45:13 2017	(r436777)
@@ -5,5 +5,3 @@ lib/varnish/vmods/libvmod_softpurge.so
 lib/varnish/vmods/libvmod_var.so
 lib/varnish/vmods/libvmod_vsthrottle.so
 lib/varnish/vmods/libvmod_xkey.so
-%%PORTDOCS%%share/doc/varnish-modules/LICENSE
-%%PORTDOCS%%share/doc/varnish-modules/README.rst



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