blob: 700cc1ca2122de28d94f90489fecc126f1ebde25 (
plain) (
blame)
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
39
40
41
42
43
44
45
|
# New ports collection makefile for: dna-qc
# Date created: 25 Novemeber 2001
# Whom: Tony Maher <tonym@biolateral.com.au>
#
# $FreeBSD$
#
PORTNAME= dna-qc
PORTVERSION= 1993.07.26
CATEGORIES= biology
MASTER_SITES= ftp://ftp.tigr.org/pub/software/qc/
DISTNAME= qc
EXTRACT_SUFX= .tar.Z
MAINTAINER= tonym@biolateral.com.au
NO_WRKSUBDIR= true
EXAMPLES= README script.compare script.limits \
bact.all chromosomeIII.all human.all worm.all
PROGRAMS= counter hybridize normalize random_clip random_line
post-patch:
@${PERL} -pi -e 's,^CFLAGS,#CFLAGS,' ${WRKSRC}/Makefile
@${PERL} -pi -e 's,malloc.h,stdlib.h,' ${WRKSRC}/normalize.c
@${PERL} -pi -e 's,fname\*,fname,' ${WRKSRC}/random_line.c
@${PERL} -pi -e 's,static void allocate_pool,void allocate_pool,' \
${WRKSRC}/stringpool.c
do-install:
.for file in ${PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
strip ${PREFIX}/bin/${file}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/qc_doc/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/surprize_doc/* ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>
|