aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-28 00:10:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-28 00:10:36 +0800
commit60f1072468e2ec39b69021a8f2d2bd6e02153917 (patch)
treed0457da17a2170a627168337c20e337fac822dc6 /biology
parente1efca61bbbeb1ccc36cf59d5e197b4366d1b1b5 (diff)
downloadfreebsd-ports-graphics-60f1072468e2ec39b69021a8f2d2bd6e02153917.tar.gz
freebsd-ports-graphics-60f1072468e2ec39b69021a8f2d2bd6e02153917.tar.zst
freebsd-ports-graphics-60f1072468e2ec39b69021a8f2d2bd6e02153917.zip
- Do install cmake and pkgconfig modules
- While here, switch to options helpers PR: 209710 Submitted by: h2+fbsdports@fsfe.org (maintainer)
Diffstat (limited to 'biology')
-rw-r--r--biology/seqan/Makefile9
-rw-r--r--biology/seqan/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/biology/seqan/Makefile b/biology/seqan/Makefile
index 60663f571dd..a5d1a03ea57 100644
--- a/biology/seqan/Makefile
+++ b/biology/seqan/Makefile
@@ -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>
diff --git a/biology/seqan/pkg-plist b/biology/seqan/pkg-plist
index 4592c53d4e0..949a9ecb408 100644
--- a/biology/seqan/pkg-plist
+++ b/biology/seqan/pkg-plist
@@ -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