From owner-svn-ports-all@FreeBSD.ORG Sun Jun 1 11:26:39 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB310D83; Sun, 1 Jun 2014 11:26:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 BFA47228D; Sun, 1 Jun 2014 11:26:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s51BQdwu011353; Sun, 1 Jun 2014 11:26:39 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s51BQdPl011352; Sun, 1 Jun 2014 11:26:39 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201406011126.s51BQdPl011352@svn.freebsd.org> From: Olli Hauer Date: Sun, 1 Jun 2014 11:26:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356098 - head/biology/njplot 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.18 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: Sun, 01 Jun 2014 11:26:40 -0000 Author: ohauer Date: Sun Jun 1 11:26:39 2014 New Revision: 356098 URL: http://svnweb.freebsd.org/changeset/ports/356098 QAT: https://qat.redports.org/buildarchive/r356098/ Log: - add stage support - add OPTION for X11 - bump PORTREVISION Modified: head/biology/njplot/Makefile Modified: head/biology/njplot/Makefile ============================================================================== --- head/biology/njplot/Makefile Sun Jun 1 11:23:36 2014 (r356097) +++ head/biology/njplot/Makefile Sun Jun 1 11:26:39 2014 (r356098) @@ -3,14 +3,19 @@ PORTNAME= njplot PORTVERSION= 2.1 -PORTREVISION= 2 +PORTREVISION= 3 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) +OPTIONS_DEFINE= DOCS X11 +OPTIONS_DEFAULT= DOCS X11 + +.include + +.if ${PORT_OPTIONS:MX11} BUILD_DEPENDS= ${LOCALBASE}/lib/ncbi/libvibrant.a:${PORTSDIR}/biology/ncbi-toolkit USE_XORG= x11 xt xmu xp USES= motif @@ -19,7 +24,7 @@ USES= motif MAKEFILE= makefile BINARIES= newicktops newicktotxt -.ifndef (WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} BINARIES+= njplot unrooted .endif .for file in ${BINARIES} @@ -28,30 +33,19 @@ PLIST_FILES+= bin/${file} PORTDOCS= njplot.help njplot.html njplot.gif -MAN1= njplot.1 unrooted.1 -NO_STAGE= yes - -OPTIONS_DEFINE= DOCS - -.include +MAN_1= njplot.1 unrooted.1 +PLIST_FILES+= man/man1/njplot.1.gz \ + man/man1/unrooted.1.gz -.ifdef (WITHOUT_X11) +.if !${PORT_OPTIONS:MX11} 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 ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif + ${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} .include