mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
b2097beda0
PR: 51709 Submitted by: Tony Maher <tonymaher@optushome.com.au>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: NCBI
|
|
# Date created: 03 April 2000
|
|
# Whom: tonym
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ncbi-toolkit
|
|
PORTVERSION= 2003.04.21
|
|
CATEGORIES= biology
|
|
MASTER_SITES= ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/${PORTVERSION:S/.//g}/
|
|
DISTNAME= ncbi
|
|
|
|
MAINTAINER= tonym@biolateral.com.au
|
|
COMMENT= NCBI development toolkit, including BLAST 2 and GenBank/Entrez support
|
|
|
|
USE_MOTIF= yes
|
|
|
|
#
|
|
# In the files directory we have:
|
|
#
|
|
|
|
DUMMYMAKE= Makefile
|
|
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
|
|
CPIO= cpio --quiet -pdum -R
|
|
|
|
#
|
|
# Thus ends the definitions.
|
|
#
|
|
# Now we need a dummy top level Makefile as NCBI has scripts that need to
|
|
# run from point above ncbi hierachy.
|
|
#
|
|
|
|
pre-configure:
|
|
@${CP} ${FILESDIR}/${DUMMYMAKE} ${WRKSRC}
|
|
|
|
post-install:
|
|
@${MKDIR} ${DATADIR}
|
|
@for file in ${WRKSRC}/data/*; do \
|
|
${INSTALL_DATA} $$file ${DATADIR}; \
|
|
done
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCDIR}
|
|
@cd ${WRKSRC}/doc && find * | \
|
|
${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCDIR}
|
|
.endif
|
|
@${SED} -e "s#%%PREFIX%%#${PREFIX}#" ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|