File:  [cvs.NetBSD.org] / pkgsrc / biology / xylem / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:09 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:09 wiz Exp $
#

DISTNAME=		xylem.1.8.7
PKGNAME=		xylem-1.8.7
CATEGORIES=		biology
MASTER_SITES=		ftp://ftp.cc.umanitoba.ca/psgendb/
EXTRACT_SUFX=		.tar.Z

MAINTAINER=		hdp@cs.nmsu.edu
HOMEPAGE=		http://home.cc.umanitoba.ca/~psgendb/XYLEM.html
COMMENT=		Tools for manipulation of genetic databases

WRKSRC=			${WRKDIR}/xylem
BUILD_DIRS=		src.c # yes, it's a directory
INSTALLATION_DIRS=	bin

do-configure:
	${CP} ${WRKSRC}/src.c/p2c.h.standard ${WRKSRC}/src.c/p2c.h

# Rename some binaries to avoid confusion with base system or conflicts
post-build:
	${RM} -f ${WRKSRC}/test/testxylem.csh.orig
	${MV} ${WRKSRC}/src.c/identify ${WRKSRC}/src.c/xyl-identify
	${MV} ${WRKSRC}/src.c/shuffle ${WRKSRC}/src.c/xyl-shuffle

do-install:
.for PROGRAM in dbstat getloc getob xyl-identify prot2nuc reform ribosome \
	splitdb xyl-shuffle flat2phyl phyl2flat
	${INSTALL_PROGRAM} ${WRKSRC}/src.c/${PROGRAM} ${PREFIX}/bin
.endfor
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xylem
	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/xylem/
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xylem
	${INSTALL_DATA} ${WRKSRC}/test/sample.* ${PREFIX}/share/examples/xylem
	${INSTALL_SCRIPT} ${WRKSRC}/test/testxylem.csh ${PREFIX}/share/examples/xylem

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>