blob: 4b78427b44d074ec6d72ad7b142afa3044fc09e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.6 2005/11/03 19:52:44 rillig 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"
|