aboutsummaryrefslogtreecommitdiffstats
path: root/biology/seaview/Makefile
blob: feb020371eaa4aef22688ecfa8c98c5716d67b21 (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
46
47
48
49
50
51
52
53
54
55
56
57
# Created by: frankch@waru.life.nthu.edu.tw
# $FreeBSD$

PORTNAME=   seaview
PORTVERSION=    4.5.4.8
PORTEPOCH=  1
CATEGORIES= biology
MASTER_SITES=   ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= bofh@FreeBSD.org
COMMENT=    Multiple DNA/protein sequence alignment editor

BROKEN=     checksum mismatch
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE=    2016-07-04

LICENSE=    GPLv3

LIB_DEPENDS=    libfltk.so:x11-toolkits/fltk \
        libpng.so:graphics/png

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       gmake
USE_XORG=   xext xft xinerama
MAKE_ENV=   HELPFILE='-DDEFAULT_HELPFILE=\"${DATADIR}/seaview.html\"' \
        PHYMLNAME='-DPHYMLNAME=\"phyml\"' \
        IFLTK='-I${LOCALBASE}/include' \
        LFLTK='-L${LOCALBASE}/lib' \
        USE_XFT='-DUSE_XFT' \
        OPT="${CFLAGS}"
ALL_TARGET= ${PORTNAME}

PLIST_FILES=    bin/seaview man/man1/seaview.1.gz %%DATADIR%%/seaview.html \
        share/pixmaps/seaview.xpm

DESKTOP_ENTRIES="SeaView" "" "${PREFIX}/share/pixmaps/seaview.xpm" "seaview" \
        "Biology;Science;" true

post-patch:
    ${REINPLACE_CMD} -e \
        's|^\(CC\) |#\1 | ; s|-ldl || ; \
        s|^\(CXX\) |#\1 |' ${WRKSRC}/Makefile

do-install:
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} seaview \
        ${STAGEDIR}${PREFIX}/bin)
    (cd ${WRKSRC} && ${INSTALL_MAN} seaview.1 \
        ${STAGEDIR}${MANPREFIX}/man/man1)
    ${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} seaview.html \
        ${STAGEDIR}${DATADIR})
    (cd ${WRKSRC} && ${INSTALL_DATA} seaview.xpm \
        ${STAGEDIR}${PREFIX}/share/pixmaps)

.include <bsd.port.mk>