Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2017 09:00:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444257 - head/devel/libmpsse
Message-ID:  <201706250900.v5P90BJr010351@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



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