aboutsummaryrefslogtreecommitdiffstats
path: root/biology/artemis/Makefile
blob: 64cb567766b71e44d2db3480db556d52f07a4426 (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
# Created by: camson@bilateral.com.au
# $FreeBSD$

PORTNAME=   artemis
PORTVERSION=    9
PORTREVISION=   1
CATEGORIES= biology java
MASTER_SITES=   http://www.sanger.ac.uk/Software/Artemis/v${PORTVERSION}/ \
        ftp://ftp.sanger.ac.uk/pub/pathogens/software/artemis/v${PORTVERSION}/
DISTNAME=   artemis_compiled_v${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    DNA sequence viewer and annotation tool

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_JAVA=   yes
JAVA_VERSION=   1.6+

NO_BUILD=   yes
PLIST_SUB=  PORTVERSION="${PORTVERSION}"

post-extract:
    @${FIND} ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} +

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION}
    @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION} -xpf-
    @${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/art ${STAGEDIR}${PREFIX}/bin/art
    @${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/act ${STAGEDIR}${PREFIX}/bin/act

.include <bsd.port.mk>