aboutsummaryrefslogtreecommitdiffstats
path: root/devel/combat/Makefile
blob: f823c044e4e517842562b060b410bfe61a573646 (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
# Created by: gahr
# $FreeBSD$

PORTNAME=   combat
PORTVERSION=    0.8.1
CATEGORIES= devel
MASTER_SITES=   http://www.fpx.de/Combat/download/

MAINTAINER= tcltk@FreeBSD.org
COMMENT=    A CORBA ORB implementation in Tcl

LICENSE=    BSD

LIB_DEPENDS=    itcl.3:${PORTSDIR}/lang/itcl
RUN_DEPENDS=    idl:${PORTSDIR}/devel/mico

USE_TCL=    yes
NO_BUILD=   yes

PORTDOCS=   *
PORTEXAMPLES=   *

.include <bsd.port.pre.mk>

do-install:
    cd ${WRKSRC}/orb && ${COPYTREE_SHARE} \* ${PREFIX}/lib/combat
    ${MKDIR} ${PREFIX}/bin/combat
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/idl2tcl ${PREFIX}/bin/combat
    ${INSTALL_SCRIPT} ${WRKSRC}/bin/iordump ${PREFIX}/bin/combat
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/combat.pdf ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif

test:
    cd ${WRKSRC}/test && ${MAKE} test

.include <bsd.port.post.mk>