From owner-svn-ports-head@freebsd.org Sun Jun 25 09:00:12 2017 Return-Path: Delivered-To: svn-ports-head@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 59FAAD8CD3A; Sun, 25 Jun 2017 09:00:12 +0000 (UTC) (envelope-from amdmi3@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 276C964435; Sun, 25 Jun 2017 09:00:12 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5P90BRf010352; Sun, 25 Jun 2017 09:00:11 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5P90BJr010351; Sun, 25 Jun 2017 09:00:11 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201706250900.v5P90BJr010351@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 25 Jun 2017 09:00:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444257 - 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2017 09:00:12 -0000 Author: amdmi3 Date: Sun Jun 25 09:00:11 2017 New Revision: 444257 URL: https://svnweb.freebsd.org/changeset/ports/444257 Log: - Add LICENSE_FILE - Cosmetic fixes - Don't install useless docs Modified: head/devel/libmpsse/Makefile Modified: head/devel/libmpsse/Makefile ============================================================================== --- head/devel/libmpsse/Makefile Sun Jun 25 08:32:32 2017 (r444256) +++ head/devel/libmpsse/Makefile Sun Jun 25 09:00:11 2017 (r444257) @@ -9,24 +9,23 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Open source library for SPI/I2C control via FTDI chips LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../docs/LICENSE BUILD_DEPENDS= swig2.0:devel/swig20 LIB_DEPENDS= libftdi.so:devel/libftdi -OPTIONS_DEFINE= DOCS EXAMPLES +USE_GITHUB= yes +GH_ACCOUNT= devttys0 +GH_TAGNAME= f1a6744b220d USES= autoreconf localbase:ldflags pkgconfig python:2 GNU_CONFIGURE= yes -USE_GITHUB= yes +CONFIGURE_ENV= SWIG="swig2.0" USE_LDCONFIG= yes -GH_ACCOUNT= devttys0 -GH_TAGNAME= f1a6744b220d WRKSRC_SUBDIR= src -CONFIGURE_ENV= SWIG="swig2.0" - -PORTDOCS= INSTALL LICENSE README README.* AN_135_MPSSE_Basics.pdf +PORTDOCS= README README.* AN_135_MPSSE_Basics.pdf PORTEXAMPLES= * PLIST_FILES= lib/libmpsse.so lib/libmpsse.a include/mpsse.h \ @@ -34,14 +33,17 @@ PLIST_FILES= lib/libmpsse.so lib/libmpsse.a include/mp ${PYTHONPREFIX_SITELIBDIR}/mpsse.py \ ${PYTHONPREFIX_SITELIBDIR}/pylibmpsse.py +OPTIONS_DEFINE= DOCS EXAMPLES + post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pylibmpsse.so - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpsse.so + @${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") + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/../docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: - (cd ${WRKSRC}/../src/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile") + @(cd ${WRKSRC}/../src/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile") .include