aboutsummaryrefslogtreecommitdiffstats
path: root/biology/chemeq/Makefile
blob: 984c3ca48b3d39dc8475c1c507473ad7849d82f2 (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
# Created by: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
# $FreeBSD$

PORTNAME=   chemeq
PORTVERSION=    1.50
PORTREVISION=   2
CATEGORIES= biology textproc
MASTER_SITES=   http://download.gna.org/chemeq/chemeq-1.5/ \
        http://freebsd.nsu.ru/distfiles/
DISTNAME=   ${PORTNAME}_1.5

MAINTAINER= ports@FreeBSD.org
COMMENT=    Outputs LaTeX code for chemical reaction

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BROKEN=     unfetchable

MAKE_ARGS=  CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
WRKSRC=     ${WRKDIR}/${PORTNAME}-1.5

USES=       bison

PLIST_FILES=    bin/chemeq man/man1/chemeq.1.gz
PORTDOCS=   README
PORTEXAMPLES=   chemreport chemreport.pl chemtest chemtest.pl test.stuff

OPTIONS_DEFINE= DOCS EXAMPLES

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

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

do-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/tests/,} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>