52cad4515c
do not have /usr/X11R6 for quite a long time) - Move the options block lower within the Makefile - Add missing USE_XORG as reported by `stage-qa' - Provide sensible description for LIBNOVA option - Remove MONOCHROME option: the program does not run properly with it ("Fatal Error! No visuals that we can use") and monochrome mode can be enabled by launching it with `-m' switch - Convert to option helpers, use INSTALL_DATA for installing documentation files, not INSTALL_MAN
35 lines
893 B
Makefile
35 lines
893 B
Makefile
# Created by: Frank W. Josellis <frank@dynamical-systems.org>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
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>
|