summaryrefslogtreecommitdiff
path: root/x11/ssystem/Makefile
blob: 80cd2c8bcaf2035f60ca5c1ce00230ee57992c04 (plain)
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
# $NetBSD: Makefile,v 1.3 2001/03/28 03:10:53 fredb Exp $
#

DISTNAME=	ssystem-1.6
CATEGORIES=	x11 graphics
MASTER_SITES=	${HOMEPAGE}			# ${HOMEPAGE}/hires/

MAINTAINER=	fredb@netbsd.org
HOMEPAGE=	http://www1.las.es/~amil/ssystem/
COMMENT=	Solar System Flyby Simulator

BUILD_DEPENDS+=	bison-*:../../devel/bison
DEPENDS+=	jpeg-6b:../../graphics/jpeg

USE_MESA=	yes
USE_X11BASE=	yes

MAKEFILE=	Makefile.FreeBSD

DATA_FILES=	*.jpg *.dat ssystem.conf
DOC_FILES=	LICENSE README

do-install:
	cd ${WRKSRC} && \
	    ${INSTALL_PROGRAM} ssystem ${X11BASE}/bin; \
	    ${INSTALL_DATA_DIR} ${X11BASE}/share/ssystem; \
	    ${INSTALL_DATA_DIR} ${X11BASE}/share/doc/ssystem; \
	    ${INSTALL_DATA_DIR} ${X11BASE}/share/ssystem/hires; \
	    ${INSTALL_DATA} ${DATA_FILES} ${X11BASE}/share/ssystem; \
	    ${INSTALL_DATA} ${DOC_FILES} ${X11BASE}/share/doc/ssystem; \
	    ${INSTALL_DATA} hires/README ${X11BASE}/share/ssystem/hires

.include "../../mk/bsd.pkg.mk"