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

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Orbital simulator

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

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

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/KEYBINDINGS.txt ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/getting_started.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>