summaryrefslogtreecommitdiff
path: root/x11/ssystem/Makefile
blob: 624b65906af32a3fac9cc31ee501ac36dee5e95b (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
34
35
# $NetBSD: Makefile,v 1.8 2003/07/17 22:56:45 grant Exp $
#

DISTNAME=	ssystem-1.6
PKGREVISION=	1
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

USE_BUILDLINK2=	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 "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"