mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.
While here, use OPTIONS helpers and re-enable manpage installation.
This commit is contained in:
parent
d96b5b34ca
commit
e7e692da08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361934
@ -18,29 +18,23 @@ DOCFILES= COPYRIGHT INSTALL LICENSE Userguide.pdf
|
||||
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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user