aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-04 18:02:30 +0800
committermiwi <miwi@FreeBSD.org>2013-06-04 18:02:30 +0800
commite74a308a7fb6351380e49a73f45c625f824d97df (patch)
treeea1748c4a7a9284377bbdab0647bb9fe54f91e3c /biology
parentd90e07b31b9fb92bb34812bb5353a3a9029d4edb (diff)
downloadfreebsd-ports-graphics-e74a308a7fb6351380e49a73f45c625f824d97df.tar.gz
freebsd-ports-graphics-e74a308a7fb6351380e49a73f45c625f824d97df.tar.zst
freebsd-ports-graphics-e74a308a7fb6351380e49a73f45c625f824d97df.zip
- Update to 3.6.9.5
PR: 179224 Submitted by: Ports Fury
Diffstat (limited to 'biology')
-rw-r--r--biology/phylip/Makefile46
-rw-r--r--biology/phylip/distinfo4
-rw-r--r--biology/phylip/pkg-plist2
3 files changed, 33 insertions, 19 deletions
diff --git a/biology/phylip/Makefile b/biology/phylip/Makefile
index d69f857af90..1a4105e7ece 100644
--- a/biology/phylip/Makefile
+++ b/biology/phylip/Makefile
@@ -1,42 +1,54 @@
-# New ports collection makefile for: phylip
-# Date created: 4 July 2000
-# Whom: dbader@eece.unm.edu
-#
+# Created by: dbader@eece.unm.edu
# $FreeBSD$
-#
PORTNAME= phylip
-PORTVERSION= 3.69
+PORTVERSION= 3.695
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://evolution.gs.washington.edu/phylip/download/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Phylogeny Inference Package
+COMMENT= Phylogeny Inference Package
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-BUILD_WRKSRC= ${WRKSRC}/src
-INSTALL_WRKSRC= ${WRKSRC}/src
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+BUILD_WRKSRC= ${WRKSRC}/source
+INSTALL_WRKSRC= ${WRKSRC}/source
USE_XORG= x11 xaw xt
USE_GMAKE= yes
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
+MAKEFILE= Makefile.unx
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DUNX" \
DFLAGS="${CFLAGS} -DX -I${LOCALBASE}/include" \
DLIBS="-L${LOCALBASE}/lib -lX11 -lXaw -lXt -lm"
+MAKE_JOBS_SAFE= yes
PORTDOCS= *
+PORTEXAMPLES= *
+
+.include <bsd.port.options.mk>
post-install:
@cd ${WRKSRC}/exe && \
- ${FIND} . -not -type d -not -name 'font*' -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/bin/{}" \;
- ${MKDIR} ${DATADIR}
+ ${FIND} . -maxdepth 1 -not -type d -not -name '*.jar' \
+ -not -name '*.unx' -not -name 'font*' -not -name '*.so' \
+ -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/bin/{}" \;
@cd ${WRKSRC}/exe && \
- ${FIND} . -not -type d -name 'font*' -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/doc && \
- ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
+ ${FIND} . -maxdepth 1 -not -type d -name "*.so" \
+ -exec ${INSTALL_DATA} "{}" "${PREFIX}/lib/{}" \;
+ @${MKDIR} ${DATADIR}
+ @cd ${WRKSRC}/exe && \
+ ${FIND} . -maxdepth 1 -not -type d -name 'font*' \
+ -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/exe && ${COPYTREE_SHARE} testdata ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff --git a/biology/phylip/distinfo b/biology/phylip/distinfo
index b6fb25fc5c5..8d6320ec052 100644
--- a/biology/phylip/distinfo
+++ b/biology/phylip/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phylip-3.69.tar.gz) = 27947ce8dab4416e4823db38b3d1b0bf17bc545b6907cf09dcf6177df94c1a8f
-SIZE (phylip-3.69.tar.gz) = 1511935
+SHA256 (phylip-3.695.tar.gz) = 846b9acf5f9d30520f703c6541ec945378b1c9355bc3f035e0ea721931b7b8ac
+SIZE (phylip-3.695.tar.gz) = 4364943
diff --git a/biology/phylip/pkg-plist b/biology/phylip/pkg-plist
index 86a349a1e9d..6c18e5812b0 100644
--- a/biology/phylip/pkg-plist
+++ b/biology/phylip/pkg-plist
@@ -33,6 +33,8 @@ bin/restml
bin/retree
bin/seqboot
bin/treedist
+lib/libdrawgram.so
+lib/libdrawtree.so
%%DATADIR%%/font1
%%DATADIR%%/font2
%%DATADIR%%/font3