summaryrefslogtreecommitdiff
path: root/biology/xylem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/xylem/Makefile')
-rw-r--r--biology/xylem/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/biology/xylem/Makefile b/biology/xylem/Makefile
new file mode 100644
index 00000000000..81560ebe373
--- /dev/null
+++ b/biology/xylem/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/04 19:13:28 jschauma Exp $
+#
+
+DISTNAME= xylem.1.8.7
+PKGNAME= xylem-1.8.7
+WRKSRC= ${WRKDIR}/xylem/src.c
+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
+
+USE_BUILDLINK2= YES
+
+do-configure:
+ ${CP} ${WRKSRC}/p2c.h.standard ${WRKSRC}/p2c.h
+
+# Rename some binaries to avoid confusion with base system or conflicts
+post-build:
+ ${RM} -f ${WRKSRC}/../test/testxylem.csh.orig
+ ${MV} ${WRKSRC}/identify ${WRKSRC}/xyl-identify
+ ${MV} ${WRKSRC}/shuffle ${WRKSRC}/xyl-shuffle
+
+do-install:
+.for PROGRAM in dbstat getloc getob xyl-identify prot2nuc reform ribosome \
+ splitdb xyl-shuffle flat2phyl phyl2flat
+ ${INSTALL_PROGRAM} ${WRKSRC}/${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"