aboutsummaryrefslogtreecommitdiff
path: root/astro/xmoontool/Makefile
blob: f708d14e34ebb842bf2c16e87c93b4c34695b74d (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
# Created by: Frank W. Josellis <frank@dynamical-systems.org>

PORTNAME=	xmoontool
PORTVERSION=	3.0.3
PORTREVISION=	8
CATEGORIES=	astro
MASTER_SITES=	http://www.senax.net/xmoontool/

MAINTAINER=	frank@dynamical-systems.org
COMMENT=	Version of John Walker's classical moontool for X11/Motif

USES=		motif xorg
USE_XORG=	x11 xt

PLIST_FILES=	bin/xmoontool man/man1/xmoontool.1.gz
PORTDOCS=	NOTES

OPTIONS_DEFINE=	DOCS LIBNOVA
OPTIONS_DEFAULT=	LIBNOVA

LIBNOVA_DESC=	High-accuracy astronomical model (libnova)
LIBNOVA_MAKE_ENV_OFF=	WITHOUT_LIBNOVA=yes
LIBNOVA_LIB_DEPENDS=	libnova.so:astro/libnova

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

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>