1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/astro/planets/Makefile
John Marino f3a3121cf1 astro/planets: Unbreak after Ocaml 4.01 with Debian patch
While using one of Debian's patches to fix this build, remove the
hardcoded depends and replace with USE_OCAML instead.  Also convert
to USES+=tar while we are here.
2014-05-07 18:19:04 +00:00

35 lines
764 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= planets
PORTVERSION= 0.1.13
PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= GENTOO/distfiles \
http://planets.homedns.org/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Orbital simulator
LICENSE= GPLv2
USES= gmake tar:tgz
USE_OCAML= yes
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>