aboutsummaryrefslogtreecommitdiffstats
path: root/astro/planets/Makefile
blob: cc3976c63644560762eaf0aa304bfe99acf2de88 (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: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   planets
PORTVERSION=    0.1.13
PORTREVISION=   1
CATEGORIES= astro
MASTER_SITES=   GENTOO/distfiles \
        http://planets.homedns.org/dist/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Orbital simulator

LICENSE=    GPLv2

USES=       gmake tar:tgz
USE_OCAML=  yes
USE_OCAML_CAMLP4=yes
USE_OCAML_TK=   yes
USE_XORG=   x11
ALL_TARGET= ${PORTNAME}

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/planets.1 ${STAGEDIR}${MANPREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/KEYBINDINGS.txt ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/getting_started.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>