2000-10-29 13:56:24 +00:00
|
|
|
# New ports collection makefile for: NCBI
|
|
|
|
# Date created: 03 April 2000
|
|
|
|
# Whom: tonym
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-11-15 00:54:09 +00:00
|
|
|
PORTNAME= ncbi-toolkit
|
2001-06-20 14:25:54 +00:00
|
|
|
PORTVERSION= 2001.04.03
|
2000-10-29 13:56:24 +00:00
|
|
|
CATEGORIES= biology
|
2000-11-03 13:23:15 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools/old/${PORTVERSION:S/.//g}/
|
2000-10-29 13:56:24 +00:00
|
|
|
DISTNAME= ncbi
|
|
|
|
|
2001-08-06 10:50:02 +00:00
|
|
|
MAINTAINER= tonym@biolateral.com.au
|
2000-10-29 13:56:24 +00:00
|
|
|
|
2000-11-07 23:28:20 +00:00
|
|
|
USE_MOTIF= yes
|
2000-10-29 13:56:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# In the files directory we have:
|
|
|
|
#
|
|
|
|
|
|
|
|
DUMMYMAKE= Makefile
|
|
|
|
|
|
|
|
#
|
|
|
|
# out of it for the post-install when we put in system startup file.
|
|
|
|
#
|
|
|
|
|
|
|
|
PLATFORMDIR= ${WRKSRC}/platform
|
|
|
|
BUILDSCRIPT= ${WRKSRC}/make/makedis.csh
|
|
|
|
|
2001-06-20 14:25:54 +00:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
CPIO= cpio --quiet -pdum -R
|
|
|
|
|
2000-10-29 13:56:24 +00:00
|
|
|
#
|
|
|
|
# Thus ends the definitions
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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}
|
|
|
|
@${CP} ${FILESDIR}/freebsd.ncbi.mk ${PLATFORMDIR}
|
|
|
|
@${PERL} -pi.orig -e 's#NetBSD#FreeBSD#;' -e 's#netbsd#freebsd#' ${BUILDSCRIPT}
|
|
|
|
|
2001-06-20 14:25:54 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${DOCDIR}
|
|
|
|
@ cd ${WRKSRC}/doc && find * | \
|
|
|
|
${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCDIR}
|
|
|
|
.endif
|
|
|
|
|
2000-10-29 13:56:24 +00:00
|
|
|
.include <bsd.port.mk>
|