aboutsummaryrefslogtreecommitdiff
path: root/biology/phylip
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-23 21:52:54 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-23 21:52:54 +0000
commit9e64a1e65699ee3a42308dafc86a66d3e055dcc5 (patch)
tree5a9b67acc9d568fa0ea95016ab0c9673732b3208 /biology/phylip
parent80fee806c4384ff26e964a04984a34dd4235e124 (diff)
downloadports-9e64a1e65699ee3a42308dafc86a66d3e055dcc5.tar.gz
ports-9e64a1e65699ee3a42308dafc86a66d3e055dcc5.zip
Notes
Diffstat (limited to 'biology/phylip')
-rw-r--r--biology/phylip/Makefile30
1 files changed, 13 insertions, 17 deletions
diff --git a/biology/phylip/Makefile b/biology/phylip/Makefile
index dcae4f991c4e..73dbe64e8373 100644
--- a/biology/phylip/Makefile
+++ b/biology/phylip/Makefile
@@ -3,7 +3,7 @@
PORTNAME= phylip
PORTVERSION= 3.695
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://evolution.gs.washington.edu/phylip/download/
@@ -13,8 +13,6 @@ COMMENT= Phylogeny Inference Package
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-OPTIONS_DEFINE= DOCS EXAMPLES
-
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
@@ -29,28 +27,26 @@ USE_LDCONFIG= yes
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+pre-install:
+ @(cd ${WRKSRC}/src && ${STRIP_CMD} libdrawtree.so libdrawgram.so)
post-install:
@cd ${WRKSRC}/exe && \
${FIND} . -maxdepth 1 -not -type d -not -name '*.jar' \
-not -name '*.unx' -not -name 'font*' -not -name '*.so' \
- -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/bin/{}" \;
+ -exec ${INSTALL_PROGRAM} "{}" "${STAGEDIR}${PREFIX}/bin/{}" \;
@cd ${WRKSRC}/exe && \
${FIND} . -maxdepth 1 -not -type d -name "*.so" \
- -exec ${INSTALL_DATA} "{}" "${PREFIX}/lib/{}" \;
- @${MKDIR} ${DATADIR}
+ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/lib/{}" \;
+ @${MKDIR} ${STAGEDIR}${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
+ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/exe && ${COPYTREE_SHARE} testdata ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>