Date: Tue, 15 Jul 2014 14:54:54 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361934 - head/biology/hmmer Message-ID: <201407151454.s6FEssjJ012102@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Tue Jul 15 14:54:54 2014 New Revision: 361934 URL: http://svnweb.freebsd.org/changeset/ports/361934 QAT: https://qat.redports.org/buildarchive/r361934/ Log: Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. While here, use OPTIONS helpers and re-enable manpage installation. Modified: head/biology/hmmer/Makefile head/biology/hmmer/pkg-plist Modified: head/biology/hmmer/Makefile ============================================================================== --- head/biology/hmmer/Makefile Tue Jul 15 14:42:26 2014 (r361933) +++ head/biology/hmmer/Makefile Tue Jul 15 14:54:54 2014 (r361934) @@ -18,29 +18,23 @@ DOCFILES= COPYRIGHT INSTALL LICENSE User EXAMPLES= 7LESS_DROME Pkinase.sto fn3.sto globins4.sto minifam.h3f minifam.h3p \ HBB_HUMAN fn3.hmm globins4.hmm globins45.fa minifam.h3i \ Pkinase.hmm fn3.out globins4.out minifam minifam.h3m -#MAN1= hmmalign.1 hmmbuild.1 hmmcalibrate.1 hmmconvert.1 hmmemit.1 \ -# hmmer.1 hmmfetch.1 hmmindex.1 hmmpfam.1 hmmsearch.1 -OPTIONS_DEFINE= PVM +OPTIONS_DEFINE= PVM DOCS EXAMPLES PVM_DESC= PVM support -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPVM} -CONFIGURE_ENV+= PVM_ROOT="${LOCALBASE}/lib/pvm" PVM_ARCH="FREEBSD" -CONFIGURE_ARGS+= --with-pvm -BUILD_DEPENDS+= pvm:${PORTSDIR}/net/pvm -.endif +PVM_CONFIGURE_ENV= PVM_ROOT="${LOCALBASE}/lib/pvm" PVM_ARCH="FREEBSD" +PVM_CONFIGURE_WITH= pvm +PVM_BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm post-install: -.if ${PORT_OPTIONS:MDOCS} + (cd ${WRKSRC}/documentation/man; for i in *.man; do \ + ${INSTALL_MAN} $$i ${STAGEDIR}${PREFIX}/man/man1/`echo $$i|${SED} 's/.man/.1/'`; \ + done) + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/tutorial/,} ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> Modified: head/biology/hmmer/pkg-plist ============================================================================== --- head/biology/hmmer/pkg-plist Tue Jul 15 14:42:26 2014 (r361933) +++ head/biology/hmmer/pkg-plist Tue Jul 15 14:54:54 2014 (r361934) @@ -10,6 +10,19 @@ bin/hmmsim bin/hmmstat bin/jackhmmer bin/phmmer +man/man1/hmmalign.1.gz +man/man1/hmmbuild.1.gz +man/man1/hmmconvert.1.gz +man/man1/hmmemit.1.gz +man/man1/hmmer.1.gz +man/man1/hmmfetch.1.gz +man/man1/hmmpress.1.gz +man/man1/hmmscan.1.gz +man/man1/hmmsearch.1.gz +man/man1/hmmsim.1.gz +man/man1/hmmstat.1.gz +man/man1/jackhmmer.1.gz +man/man1/phmmer.1.gz %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LICENSE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151454.s6FEssjJ012102>