1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/biology/ncbi-toolkit/Makefile
2001-07-10 16:35:08 +00:00

56 lines
1.1 KiB
Makefile

# New ports collection makefile for: NCBI
# Date created: 03 April 2000
# Whom: tonym
#
# $FreeBSD$
#
PORTNAME= ncbi-toolkit
PORTVERSION= 2001.04.03
CATEGORIES= biology
MASTER_SITES= ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools/old/${PORTVERSION:S/.//g}/
DISTNAME= ncbi
MAINTAINER= tonym@angis.org.au
USE_MOTIF= yes
#
# 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
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
CPIO= cpio --quiet -pdum -R
#
# 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}
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCDIR}
@ cd ${WRKSRC}/doc && find * | \
${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCDIR}
.endif
.include <bsd.port.mk>