2012-10-01 16:45:16 +02:00
|
|
|
# Created by: frankch@waru.life.nthu.edu.tw
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1997-12-21 23:04:39 +01:00
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= seaview
|
2015-05-22 13:09:23 +02:00
|
|
|
PORTVERSION= 4.5.4.4
|
2012-10-30 21:31:14 +01:00
|
|
|
PORTEPOCH= 1
|
2000-04-09 00:04:57 +02:00
|
|
|
CATEGORIES= biology
|
2015-04-11 17:49:57 +02:00
|
|
|
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
|
2012-10-30 21:31:14 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
1997-12-21 23:04:39 +01:00
|
|
|
|
2014-12-24 01:14:11 +01:00
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Multiple DNA/protein sequence alignment editor
|
1997-12-21 23:04:39 +01:00
|
|
|
|
2015-03-16 13:07:49 +01:00
|
|
|
LICENSE= GPLv3
|
2015-02-21 08:35:32 +01:00
|
|
|
|
2015-03-16 13:07:49 +01:00
|
|
|
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
|
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
2015-05-22 13:09:23 +02:00
|
|
|
# libpdf.so:${PORTSDIR}/print/pdflib
|
2005-11-16 05:37:44 +01:00
|
|
|
|
2012-10-30 21:31:14 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-02-27 09:46:42 +01:00
|
|
|
USES= gmake
|
2013-03-26 02:08:40 +01:00
|
|
|
USE_XORG= xext xft xinerama
|
2012-10-30 21:31:14 +01:00
|
|
|
MAKE_ENV= HELPFILE='-DDEFAULT_HELPFILE=\"${DATADIR}/seaview.html\"' \
|
|
|
|
PHYMLNAME='-DPHYMLNAME=\"phyml\"' \
|
|
|
|
IFLTK='-I${LOCALBASE}/include' \
|
|
|
|
LFLTK='-L${LOCALBASE}/lib' \
|
|
|
|
USE_XFT='-DUSE_XFT' \
|
|
|
|
OPT="${CFLAGS}"
|
2003-11-17 14:36:41 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2012-10-30 21:31:14 +01:00
|
|
|
|
2014-05-21 07:40:53 +02:00
|
|
|
PLIST_FILES= bin/seaview man/man1/seaview.1.gz %%DATADIR%%/seaview.html \
|
|
|
|
share/pixmaps/seaview.xpm
|
2012-10-30 21:31:14 +01:00
|
|
|
|
2014-05-21 07:40:53 +02:00
|
|
|
DESKTOP_ENTRIES="SeaView" "" "${PREFIX}/share/pixmaps/seaview.xpm" "seaview" \
|
2014-06-04 08:28:56 +02:00
|
|
|
"Biology;Science;" true
|
2013-03-26 02:08:40 +01:00
|
|
|
|
2012-10-30 21:31:14 +01:00
|
|
|
post-patch:
|
2015-03-16 13:07:49 +01:00
|
|
|
${REINPLACE_CMD} -e \
|
2015-03-24 11:15:30 +01:00
|
|
|
's|^\(CC\) |#\1 | ; \
|
|
|
|
s|^\(CXX\) |#\1 |' ${WRKSRC}/Makefile
|
2003-05-22 07:59:32 +02:00
|
|
|
|
1997-12-21 23:04:39 +01:00
|
|
|
do-install:
|
2014-02-27 09:46:42 +01:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} seaview \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_MAN} seaview.1 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1)
|
2015-03-16 13:07:49 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
2014-02-27 09:46:42 +01:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} seaview.html \
|
|
|
|
${STAGEDIR}${DATADIR})
|
2014-05-21 07:40:53 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} seaview.xpm \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps)
|
1997-12-21 23:04:39 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|