- Do install cmake and pkgconfig modules

- While here, switch to options helpers

PR:		209710
Submitted by:	h2+fbsdports@fsfe.org (maintainer)
This commit is contained in:
Dmitry Marakasov 2016-05-27 16:10:36 +00:00
parent 2d97dd5f25
commit 5476a64463
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415945
2 changed files with 8 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= seqan
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= http://packages.seqan.de/seqan-library/
DISTNAME= ${PORTNAME}-library-${PORTVERSION}
@ -22,11 +23,13 @@ OPTIONS_DEFINE= DOCS
DOCS_DESC= Install official API documentation (html)
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/include/${PORTNAME}
cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} ./${PORTNAME} ${STAGEDIR}/${PREFIX}/include
${MKDIR} ${STAGEDIR}/${PREFIX}/share/cmake/Modules
${INSTALL_DATA} ${WRKSRC}/share/cmake/Modules/FindSeqAn.cmake ${STAGEDIR}/${PREFIX}/share/cmake/Modules/
${MKDIR} ${STAGEDIR}/${PREFIX}/libdata/pkgconfig
${INSTALL_DATA} ${WRKSRC}/share/pkgconfig/seqan-2.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
do-install-DOCS-on:
cd ${WRKSRC}/share/doc/ && ${COPYTREE_SHARE} ./seqan/ ${STAGEDIR}${DOCSDIR}/../
.include <bsd.port.mk>

View file

@ -673,6 +673,8 @@ include/seqan/vcf_io/vcf_io_context.h
include/seqan/vcf_io/vcf_record.h
include/seqan/vcf_io/write_vcf.h
include/seqan/version.h
libdata/pkgconfig/seqan-2.pc
share/cmake/Modules/FindSeqAn.cmake
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.rst
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README.rst