From 5f74204fe15b50f03877ece0be89d0c00ac320b6 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 7 Dec 2017 16:00:23 +0000 Subject: Add DOCS option - Fix documentation installation: - Avoid conflicts between FLAVORS - Do not install license files - Bump PORTREVISION for package change PR: 224108 Reported by: Ting-Wei Lan --- ftp/py-pycurl/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ftp/py-pycurl/Makefile') diff --git a/ftp/py-pycurl/Makefile b/ftp/py-pycurl/Makefile index bb22b301a84d..73d26520908b 100644 --- a/ftp/py-pycurl/Makefile +++ b/ftp/py-pycurl/Makefile @@ -3,6 +3,7 @@ PORTNAME= pycurl PORTVERSION= 7.43.0 +PORTREVISION= 1 CATEGORIES= ftp python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,10 +18,18 @@ LICENSE_MIT= ${WRKSRC}/COPYING-MIT LIB_DEPENDS= libcurl.so:ftp/curl +OPTIONS_DEFINE= DOCS + USE_PYTHON= autoplist concurrent distutils USES= python ssl +PORTDOCS= AUTHORS INSTALL.rst README.rst RELEASE-NOTES.rst + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}.so +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + .include -- cgit v1.2.3