- Add LICENSE_FILE
- Cosmetic fixes - Don't install useless docs
This commit is contained in:
parent
056f632a83
commit
0f9adf5229
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444257
1 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
|
||||
USES= autoreconf localbase:ldflags pkgconfig python:2
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
GH_ACCOUNT= devttys0
|
||||
GH_TAGNAME= f1a6744b220d
|
||||
|
||||
USES= autoreconf localbase:ldflags pkgconfig python:2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= SWIG="swig2.0"
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
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/mpsse.h \
|
|||
${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>
|
||||
|
|
Loading…
Reference in a new issue