summaryrefslogtreecommitdiff
path: root/x11/ssystem/Makefile
blob: 11237c85b18e1c55e8e983fec5b88b03449a34de (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.5 2002/06/28 10:28:58 agc 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-[0-9]*:../../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 ${X11PREFIX}/bin; \
	    ${INSTALL_DATA_DIR} ${X11PREFIX}/share/ssystem; \
	    ${INSTALL_DATA_DIR} ${X11PREFIX}/share/doc/ssystem; \
	    ${INSTALL_DATA_DIR} ${X11PREFIX}/share/ssystem/hires; \
	    ${INSTALL_DATA} ${DATA_FILES} ${X11PREFIX}/share/ssystem; \
	    ${INSTALL_DATA} ${DOC_FILES} ${X11PREFIX}/share/doc/ssystem; \
	    ${INSTALL_DATA} hires/README ${X11PREFIX}/share/ssystem/hires

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