blob: bf18bcb29be9e1e5999f8aff433ed6b1b8579747 (
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
|
# New ports collection makefile for: njplot
# Date created: 5 December 2007
# Whom: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= njplot
PORTVERSION= 2.1
PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/archive/
MAINTAINER= mzaki@m.u-tokyo.ac.jp
COMMENT= Phylogenetic tree drawing program capable of interactive manipulation
.ifndef (WITHOUT_X11)
BUILD_DEPENDS= ${LOCALBASE}/lib/ncbi/libvibrant.a:${PORTSDIR}/biology/ncbi-toolkit
USE_XORG= x11 xt xmu xp
USE_MOTIF= yes
.endif
MAKEFILE= makefile
BINARIES= newicktops newicktotxt
.ifndef (WITHOUT_X11)
BINARIES+= njplot unrooted
.endif
.for file in ${BINARIES}
PLIST_FILES+= bin/${file}
.endfor
PORTDOCS= njplot.help njplot.html njplot.gif
MAN1= njplot.1 unrooted.1
.ifdef (WITHOUT_X11)
post-patch:
${REINPLACE_CMD} -e 's|njplot.*unrooted||' ${WRKSRC}/makefile
.endif
do-install:
.for file in ${BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|