From owner-svn-ports-all@freebsd.org Wed Nov 16 14:52:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B7EAC45F7B; Wed, 16 Nov 2016 14:52:55 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D00A91B98; Wed, 16 Nov 2016 14:52:54 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAGEqrt8091134; Wed, 16 Nov 2016 14:52:53 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAGEqrRx091129; Wed, 16 Nov 2016 14:52:53 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201611161452.uAGEqrRx091129@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Wed, 16 Nov 2016 14:52:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426241 - in head: . biology biology/njplot biology/njplot/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 14:52:55 -0000 Author: jrm Date: Wed Nov 16 14:52:53 2016 New Revision: 426241 URL: https://svnweb.freebsd.org/changeset/ports/426241 Log: biology/njplot: Revive and update to version 2.4 Approved by: AMDmi3 (mentor) Differential Revision: https://reviews.freebsd.org/D8518 Added: head/biology/njplot/ - copied from r400159, head/biology/njplot/ Modified: head/MOVED head/biology/Makefile head/biology/njplot/Makefile head/biology/njplot/distinfo head/biology/njplot/files/patch-makefile Modified: head/MOVED ============================================================================== --- head/MOVED Wed Nov 16 13:23:57 2016 (r426240) +++ head/MOVED Wed Nov 16 14:52:53 2016 (r426241) @@ -7966,7 +7966,6 @@ cad/slffea||2015-11-28|Has expired: Brok audio/cripple||2015-11-28|Has expired: Broken for more than 6 months cad/geda-gattrib||2015-11-28|Has expired: Broken for more than 6 months cad/findhier||2015-11-28|Has expired: Broken for more than 6 months -biology/njplot||2015-11-28|Has expired: Broken for more than 6 months audio/wmmp||2015-11-28|Has expired: Broken for more than 6 months x11/avant-window-navigator||2015-11-28|Has expired: Broken for more than 6 months cad/geda-netlist||2015-11-28|Has expired: Broken for more than 6 months Modified: head/biology/Makefile ============================================================================== --- head/biology/Makefile Wed Nov 16 13:23:57 2016 (r426240) +++ head/biology/Makefile Wed Nov 16 14:52:53 2016 (r426241) @@ -55,6 +55,7 @@ SUBDIR += muscle SUBDIR += ncbi-blast+ SUBDIR += ncbi-toolkit + SUBDIR += njplot SUBDIR += p5-AcePerl SUBDIR += p5-Bio-ASN1-EntrezGene SUBDIR += p5-Bio-Das Modified: head/biology/njplot/Makefile ============================================================================== --- head/biology/njplot/Makefile Sun Oct 25 19:23:40 2015 (r400159) +++ head/biology/njplot/Makefile Wed Nov 16 14:52:53 2016 (r426241) @@ -2,52 +2,38 @@ # $FreeBSD$ PORTNAME= njplot -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.4 CATEGORIES= biology -MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/archive/ +MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/ \ + 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 +MAINTAINER= jrm@FreeBSD.org +COMMENT= Phylogenetic tree drawing program -BROKEN= Unfetchable +LICENSE= NONE -OPTIONS_DEFINE= DOCS X11 -OPTIONS_DEFAULT= DOCS X11 +BUILD_DEPENDS= blastall:biology/ncbi-toolkit -.include +MAKEFILE= makefile -.if ${PORT_OPTIONS:MX11} -BUILD_DEPENDS= ${LOCALBASE}/lib/ncbi/libvibrant.a:${PORTSDIR}/biology/ncbi-toolkit -USE_XORG= x11 xt xmu xp USES= motif -.endif +USE_XORG= x11 xmu xp xt -MAKEFILE= makefile +BINARIES= newicktops newicktotxt njplot unrooted +PLIST_FILES= ${BINARIES:S|^|bin/|} man/man1/njplot.1.gz \ + man/man1/unrooted.1.gz ${DATADIR}/njplot.help +PORTDOCS= njplot.html njplot.gif -BINARIES= newicktops newicktotxt -.if ${PORT_OPTIONS:MX11} -BINARIES+= njplot unrooted -.endif -.for file in ${BINARIES} -PLIST_FILES+= bin/${file} -.endfor - -PORTDOCS= njplot.help njplot.html njplot.gif - -MAN_1= njplot.1 unrooted.1 -PLIST_FILES+= man/man1/njplot.1.gz \ - man/man1/unrooted.1.gz - -.if !${PORT_OPTIONS:MX11} -post-patch: - ${REINPLACE_CMD} -e 's|njplot.*unrooted||' ${WRKSRC}/makefile -.endif +OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${BINARIES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${MAN_1:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/man/man1 - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/njplot.help ${STAGEDIR}${DATADIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/biology/njplot/distinfo ============================================================================== --- head/biology/njplot/distinfo Sun Oct 25 19:23:40 2015 (r400159) +++ head/biology/njplot/distinfo Wed Nov 16 14:52:53 2016 (r426241) @@ -1,2 +1,3 @@ -SHA256 (njplot-2.1.tar.gz) = dd8a54c3903cd104d8322257a87b5fbf3afb7776a96fcf9bee504ae1ad54c0c1 -SIZE (njplot-2.1.tar.gz) = 85735 +TIMESTAMP = 1479168824 +SHA256 (njplot-2.4.tar.gz) = e470f7583691da2ad36a7cda4269bf64807f77cb27fe1e16cbfefc45942469d3 +SIZE (njplot-2.4.tar.gz) = 83239 Modified: head/biology/njplot/files/patch-makefile ============================================================================== --- head/biology/njplot/files/patch-makefile Sun Oct 25 19:23:40 2015 (r400159) +++ head/biology/njplot/files/patch-makefile Wed Nov 16 14:52:53 2016 (r426241) @@ -1,69 +1,49 @@ ---- makefile.orig Thu Oct 11 01:54:00 2007 -+++ makefile Mon Dec 3 22:08:28 2007 +--- makefile.orig 2012-01-04 08:50:43 UTC ++++ makefile @@ -1,5 +1,5 @@ #uncomment and locally adapt next line to fix the full helpfile path name -HELPFILENAME = -DHELPFILENAME=\"/usr/share/njplot/njplot.help\" -+HELPFILENAME = -DHELPFILENAME=\"$(LOCALBASE)/doc/njplot/njplot.help\" ++HELPFILENAME = -DHELPFILENAME=\"${DATADIR}/njplot.help\" #comment out next line and uncomment next 2 to use the PDFLib Lite library NO_PDF = -DNO_PDF -@@ -7,43 +7,45 @@ +@@ -7,27 +7,31 @@ NO_PDF = -DNO_PDF #PDFLIB = -L$(PDF) -lpdf # c compiler and linker -CC = gcc -+CC ?= gcc ++CC ?= cc - # Vibrant top directory --VIBRANT = /banques0/ncbiJun04 -+#VIBRANT = /banques0/ncbiJun04 +-# Vibrant top directory +-VIBRANT = /usr/include/ncbi +NCBIINC = $(LOCALBASE)/include/ncbi +NCBILIB = $(LOCALBASE)/lib/ncbi - - # X11 include directory --X11INCL = /usr/X11R6/include -+X11INCL = $(LOCALBASE)/include - - # motif library directory --MOTIFLIB = /sw/lib --MOTIFINCL = /sw/include -+#MOTIFLIB = /sw/lib -+#MOTIFINCL = /sw/include - OBJECTS = njplot-vib.o OBJUNROOTED = unrooted-vib.o preptree.o ++CFLAGS = -c -DWIN_MOTIF -Dunix -I${LOCALBASE}/include -I$(NCBIINC) $(HELPFILENAME) $(NO_PDF) -Wimplicit-function-declaration --CFLAGS = -c -DWIN_MOTIF -Dunix -I$(VIBRANT)/include -I$(VIBRANT)/vibrant -I$(VIBRANT)/corelib \ -- -I$(VIBRANT) -I$(PDF) -I$(X11INCL) -I$(MOTIFINCL) $(HELPFILENAME) $(NO_PDF) \ -- -Wimplicit-function-declaration -g -+CFLAGS = -c -DWIN_MOTIF -Dunix -I$(NCBIINC) \ -+ -I$(X11INCL) $(HELPFILENAME) $(NO_PDF) \ -+ -Wimplicit-function-declaration - +-CFLAGS = -c -DWIN_MOTIF -Dunix -I$(VIBRANT) $(HELPFILENAME) $(NO_PDF) +- all: njplot unrooted newicktops newicktotxt njplot : $(OBJECTS) - $(CC) -g -o njplot $(OBJECTS) \ -- -L$(VIBRANT)/lib \ -+ -L$(NCBILIB) \ - -lvibrant -lncbi \ - $(PDFLIB) \ -- -L$(MOTIFLIB) -lXm \ -- -L/usr/X11R6/lib -lXmu -lXt -lX11 -lm -+ $(MOTIFLIB) \ -+ -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm - + $(CC) -o njplot $(OBJECTS) \ +- -lvibrant -lncbi -lXm -lXt +- ++ -L$(NCBILIB) \ ++ -lvibrant -lncbi \ ++ $(MOTIFLIB) \ ++ -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm ++ unrooted : $(OBJUNROOTED) - $(CC) -g -o unrooted $(OBJUNROOTED) \ -- -L$(VIBRANT)/lib -lvibrant -lncbi \ -- -L$(MOTIFLIB) -lXm \ -- -L/usr/X11R6/lib -lXmu -lXt -lX11 -lm + $(CC) -o unrooted $(OBJUNROOTED) \ +- -lvibrant -lncbi -lXm -lXt + -L$(NCBILIB) -lvibrant -lncbi \ -+ $(MOTIFLIB) \ -+ -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm ++ $(MOTIFLIB) \ ++ -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm newicktops: njplot-vib.c $(CC) -DNO_GUI -DNO_PDF -o $@ njplot-vib.c -lm