freebsd-ports/biology/clustalx/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

37 lines
938 B
Makefile

# $FreeBSD$
PORTNAME= clustalx
DISTVERSION= 2.1
CATEGORIES= biology
MASTER_SITES= http://www.clustal.org/download/current/ \
ftp://ftp.ebi.ac.uk/pub/software/clustalw2/${DISTVERSION}/
MAINTAINER= jwb@FreeBSD.org
COMMENT= Multiple alignment of nucleic acid and protein sequences with GUI
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= qmake qt:4
USE_QT= corelib gui moc qmake_build xml
PLIST_FILES= bin/clustalx \
${DATADIR}/colprot.xml \
${DATADIR}/coldna.xml \
${DATADIR}/colprint.xml \
${DATADIR}/clustalx.hlp
post-patch:
@${REINPLACE_CMD} -e 's|col.*.xml|${DATADIR}/&|' \
${WRKSRC}/ClustalQtParams.h
@${REINPLACE_CMD} -e 's|clustalx.hlp|${DATADIR}/&|' \
${WRKSRC}/HelpDisplayWidget.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/clustalx ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/col*.xml ${WRKSRC}/clustalx.hlp \
${STAGEDIR}${DATADIR}
.include <bsd.port.mk>