blob: c344907e7e07991428c47190ed84b18e7ca8e619 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Created by: frankch@waru.life.nthu.edu.tw
# $FreeBSD$
PORTNAME= seaview
PORTVERSION= 4.5.1
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://doua.prabi.fr/software/seaview_data/ \
ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiple DNA/protein sequence alignment editor
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake
USE_XORG= xext xft xinerama
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}"
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/seaview man/man1/seaview.1.gz %%DATADIR%%/seaview.html \
share/pixmaps/seaview.xpm
PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="SeaView" "" "${PREFIX}/share/pixmaps/seaview.xpm" "seaview" \
"Biology;Science;" "true"
OPTIONS_DEFINE= PDFLIB
OPTIONS_DEFAULT= PDFLIB
PDFLIB_DESC= PDFlib support
PDFLIB_LIB_DEPENDS= libpdf.so:${PORTSDIR}/print/pdflib
PDFLIB_MAKE_ENV= LPDF='-L${LOCALBASE}/lib -lpdf'
PDFLIB_MAKE_ENV_OFF= PDF_PS_FLAGS='-DNO_PDF'
post-patch:
@${REINPLACE_CMD} -e \
's|^\(PDF_PS_FLAGS\) |#\1 | ; \
s|^\(FLTK\) |#\1 | ; \
s|^\(USE_XFT\) |#\1 | ; \
s| -ldl|| ; \
s|^\(CC\) |#\1 | ; \
s|^\(CXX\) |#\1 | ; \
s|^\(OPT\) |#\1 | ; \
s|-lpthread|-pthread|' ${WRKSRC}/Makefile
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} seaview \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_MAN} seaview.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} seaview.html \
${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${INSTALL_DATA} seaview.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps)
.include <bsd.port.mk>
|