1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/astro/planets/Makefile
Danilo Egea Gondolfo 6872a549db - Add stage support
- Add DOCS option
- Use USE_XORG instead of defined(WITHOUT_X11) + BROKEN
2013-12-13 17:08:15 +00:00

36 lines
789 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $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= Orbital simulator
LICENSE= GPLv2
BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
USES= gmake
USE_XORG= x11
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
PORTDOCS= KEYBINDINGS.txt getting_started.html
PLIST_FILES= bin/planets man/man1/planets.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/planets.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>