From owner-svn-ports-all@freebsd.org Thu May 18 16:05:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A1CED7381A; Thu, 18 May 2017 16:05:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E70919C3; Thu, 18 May 2017 16:05:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4IG59d7005152; Thu, 18 May 2017 16:05:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4IG58su005150; Thu, 18 May 2017 16:05:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705181605.v4IG58su005150@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 18 May 2017 16:05:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441180 - head/devel/libmpsse X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 16:05:10 -0000 Author: sunpoet Date: Thu May 18 16:05:08 2017 New Revision: 441180 URL: https://svnweb.freebsd.org/changeset/ports/441180 Log: Convert to options target helper - Add missing OPTIONS_DEFINE - Pet portlint - Update WWW Modified: head/devel/libmpsse/Makefile head/devel/libmpsse/pkg-descr Modified: head/devel/libmpsse/Makefile ============================================================================== --- head/devel/libmpsse/Makefile Thu May 18 16:05:03 2017 (r441179) +++ head/devel/libmpsse/Makefile Thu May 18 16:05:08 2017 (r441180) @@ -13,6 +13,8 @@ LICENSE= BSD2CLAUSE BUILD_DEPENDS= swig2.0:devel/swig20 LIB_DEPENDS= libftdi.so:devel/libftdi +OPTIONS_DEFINE= DOCS EXAMPLES + USES= autoreconf localbase:ldflags pkgconfig python:2 GNU_CONFIGURE= yes USE_GITHUB= yes @@ -22,7 +24,7 @@ GH_TAGNAME= f1a6744b220d WRKSRC_SUBDIR= src -CONFIGURE_ENV= SWIG="swig2.0" +CONFIGURE_ENV= SWIG="swig2.0" PORTDOCS= INSTALL LICENSE README README.* AN_135_MPSSE_Basics.pdf PORTEXAMPLES= * @@ -33,9 +35,13 @@ PLIST_FILES= lib/libmpsse.so lib/libmpss ${PYTHONPREFIX_SITELIBDIR}/pylibmpsse.py post-install: - (cd ${WRKSRC}/../docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name Makefile") - (cd ${WRKSRC}/../src/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile") ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pylibmpsse.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpsse.so +post-install-DOCS-on: + (cd ${WRKSRC}/../docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name Makefile") + +post-install-EXAMPLES-on: + (cd ${WRKSRC}/../src/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile") + .include Modified: head/devel/libmpsse/pkg-descr ============================================================================== --- head/devel/libmpsse/pkg-descr Thu May 18 16:05:03 2017 (r441179) +++ head/devel/libmpsse/pkg-descr Thu May 18 16:05:08 2017 (r441180) @@ -3,4 +3,4 @@ Open source library for SPI/I2C control Libmpsse is a library for interfacing with SPI/I2C devices via FTDI's FT-2232 family of USB chips. Based around the libftdi library. -WWW: http://github.com/devttys0/libmpsse +WWW: https://github.com/devttys0/libmpsse