svn commit: r436777 - head/www/varnish-modules

Mathieu Arnold mat at FreeBSD.org
Thu Mar 23 16:45:15 UTC 2017


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 at 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


More information about the svn-ports-all mailing list