git: 85200081ed9b - main - biology/wise: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 14 May 2023 19:59:24 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85200081ed9b01eefc54b77f0863e1825ce9b6ab

commit 85200081ed9b01eefc54b77f0863e1825ce9b6ab
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 19:36:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 19:59:10 +0000

    biology/wise: Unbreak on HEAD
    
    - Add LICENSE BSD3CLAUSE GPLv2
    - Pet portclippy
---
 biology/wise/Makefile | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/biology/wise/Makefile b/biology/wise/Makefile
index c842f27fc678..863f30de76c8 100644
--- a/biology/wise/Makefile
+++ b/biology/wise/Makefile
@@ -9,14 +9,18 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Intelligent algorithms for DNA searches
 WWW=		http://www.ebi.ac.uk/Wise2/
 
-BUILD_WRKSRC=	${WRKSRC}/src
+LICENSE=	BSD3CLAUSE GPLv2
+LICENSE_COMB=	dual
 
 USES=		gnome pkgconfig
 USE_GNOME=	glib20
+
 MAKEFILE=	makefile
 
 SUB_FILES=	pkg-message
 
+BUILD_WRKSRC=	${WRKSRC}/src
+
 #
 # Actually want an 'ALL_TARGET = all perl' which then requires
 # 'USE_PERL5= yes' but the perl sub-build is currently broken.
@@ -27,6 +31,12 @@ SUB_FILES=	pkg-message
 # something like '@cd ${WRKSRC}/perl/Wise2; ${MAKE} install'
 #
 
+PLIST_FILES=	${BINFILES:S,^,bin/,} ${DATAFILES:S,^,%%DATADIR%%/,}
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 BINFILES=	dba dnal estwise estwisedb genewise genewisedb promoterwise \
 		psw pswdb scanwise scanwise_server
 DATAFILES=	BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
@@ -35,11 +45,11 @@ DATAFILES=	BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
 		human.stats idenity.bla methods pb.gf pombe.gf tm.pri \
 		wise.2 wise.per worm.gf
 
-PORTDOCS=	*
-PORTEXAMPLES=	*
-PLIST_FILES=	${BINFILES:S,^,bin/,} ${DATAFILES:S,^,%%DATADIR%%/,}
+.include <bsd.port.pre.mk>
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
 
 post-patch:
 	@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
@@ -68,4 +78,4 @@ do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/test_data && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>