aboutsummaryrefslogtreecommitdiffstats
path: root/astro/planets/Makefile
blob: 3a93385b8a971e306bdfc91b5806b2120282937b (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
44
# ex:ts=8
# Ports collection makefile for:    planets
# Date created:         Mar 15, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    An orbital simulator

LICENSE=    GPLv2

BUILD_DEPENDS=  ocaml:${PORTSDIR}/lang/ocaml

USE_GMAKE=  yes
ALL_TARGET= ${PORTNAME}

MAN1=       planets.1
PORTDOCS=   KEYBINDINGS.txt getting_started.html
PLIST_FILES=    bin/planets

.if defined(WITHOUT_X11)
BROKEN=     Does not build without X11 support
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/planets.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>