aboutsummaryrefslogtreecommitdiffstats
path: root/biology/chemeq/Makefile
blob: dc0c56c9e27046f840b009ceedb8f6b501755dac (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
# New ports collection makefile for:    chemeq
# Date created:             31 May 2000
# Whom:                 rmiya
#
# $FreeBSD$

PORTNAME=   chemeq
PORTVERSION=    1.10
CATEGORIES= biology textproc
MASTER_SITES=   ftp://boltz.univ-littoral.fr/pub/chemeq/
DISTNAME=   chemeq-V110

MAINTAINER= rmiya@cc.hirosaki-u.ac.jp

BROKEN=     "Does not build"

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_BISON=  yes

MAN1=       chemeq.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/chemeq ${PREFIX}/bin
    ${INSTALL_MAN}  ${WRKSRC}/chemeq.1 ${MAN1PREFIX}/man/man1

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/chemeq
    ${MKDIR} ${PREFIX}/share/examples/chemeq
    ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/chemeq
    ${INSTALL_DATA} ${WRKSRC}/LISEZMOI ${PREFIX}/share/doc/chemeq
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/chemeq
    ${INSTALL_DATA} ${WRKSRC}/src/TODO ${PREFIX}/share/examples/chemeq
    ${INSTALL_DATA} ${WRKSRC}/src/test.1 ${PREFIX}/share/examples/chemeq
    ${INSTALL_SCRIPT} ${WRKSRC}/src/chemreport ${PREFIX}/share/examples/chemeq
    ${INSTALL_SCRIPT} ${WRKSRC}/src/chemreport.pl ${PREFIX}/share/examples/chemeq
    ${INSTALL_SCRIPT} ${WRKSRC}/src/chemtest ${PREFIX}/share/examples/chemeq
    ${INSTALL_SCRIPT} ${WRKSRC}/src/chemtest.pl ${PREFIX}/share/examples/chemeq
.endif

.include <bsd.port.mk>