Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 19:57:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442887 - head/devel/py-pyasn1-modules
Message-ID:  <201706071957.v57Jv8sQ067181@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jun  7 19:57:08 2017
New Revision: 442887
URL: https://svnweb.freebsd.org/changeset/ports/442887

Log:
  Convert to options target helper
  
  - Add missing OPTIONS_DEFINE=DOCS
  
  Approved by:	portmgr (blanket)

Modified:
  head/devel/py-pyasn1-modules/Makefile

Modified: head/devel/py-pyasn1-modules/Makefile
==============================================================================
--- head/devel/py-pyasn1-modules/Makefile	Wed Jun  7 19:57:03 2017	(r442886)
+++ head/devel/py-pyasn1-modules/Makefile	Wed Jun  7 19:57:08 2017	(r442887)
@@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:devel/py-pyasn1
 
+OPTIONS_DEFINE=	DOCS
+
 NO_ARCH=	yes
 USES=		python shebangfix
 SHEBANG_FILES=	tools/*.py
@@ -27,6 +29,8 @@ TOOLS=		cmcdump.py cmpdump.py crldump.py crmfdump.py o
 
 post-install:
 	${INSTALL_SCRIPT} ${TOOLS:S|^|${WRKSRC}/tools/|} ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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