summaryrefslogtreecommitdiffstats
path: root/astro/openuniverse/Makefile
blob: 95d7dce89387adf8836754c745f541e72601693b (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
36
37
38
39
40
# New ports collection makefile for:	ssystem
# Version required:			1.6
# Date created:				4 August 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.6 1998/12/17 09:03:34 asami Exp $
#

DISTNAME=		ssystem-1.6
CATEGORIES=		astro
MASTER_SITES=		http://www.geocities.com/SiliconValley/Station/6492/ \
			http://www.msu.edu/user/kamelkev/

MAINTAINER=		andy@icc.surw.chel.su

LIB_DEPENDS=		jpeg.9:${PORTSDIR}/graphics/jpeg \
			MesaGL.14:${PORTSDIR}/graphics/Mesa3 \
			MesaGLU.14:${PORTSDIR}/graphics/Mesa3 \
			glut.3:${PORTSDIR}/graphics/Mesa3

MAKEFILE=		Makefile.FreeBSD
FETCH_BEFORE_ARGS=	-b
USE_X_PREFIX=		yes

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/ssystem ${PREFIX}/bin
	@ ${MKDIR} ${PREFIX}/share/ssystem
	@ ${INSTALL_DATA} ${WRKSRC}/*.jpg ${PREFIX}/share/ssystem
	@ ${INSTALL_DATA} ${WRKSRC}/stars.dat ${PREFIX}/share/ssystem
	@ ${INSTALL_DATA} ${WRKSRC}/ssystem.conf ${PREFIX}/etc

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/ssystem
.for file in CHANGES LEEME LICENSE README README.3D TODO
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ssystem
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud