blob: acf1fb5422a6c1aacfd294b4e18589f6251f3eb7 (
plain)
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
|
# New ports collection makefile for: phylip
# Date created: 4 July 2000
# Whom: dbader@eece.unm.edu
#
# $FreeBSD$
#
PORTNAME= phylip
PORTVERSION= 3.65
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= ftp://evolution.genetics.washington.edu/pub/phylip/ \
http://bioinformatics.weizmann.ac.il/software/linkage_and_mapping/phylip/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= dbader@ece.unm.edu
COMMENT= A Phylogeny Inference Package
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
USE_XLIB= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_ARGS= CC="${CC} ${CFLAGS}" \
DC="${CC} -DX -I${X11BASE}/include ${CFLAGS}" \
GLIBS="-L${X11BASE}/lib -lX11 -lm"
PORTDOCS= *
do-install:
@cd ${BUILD_WRKSRC} && ${MAKE} install
@cd ${WRKSRC}/exe && \
${FIND} . -not -type d -not -name 'font*' -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/bin/{}" \;
${MKDIR} ${DATADIR}
@cd ${WRKSRC}/exe && \
${FIND} . -not -type d -name 'font*' -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.endif
.include <bsd.port.mk>
|