aboutsummaryrefslogtreecommitdiffstats
path: root/astro/openuniverse/Makefile
blob: 5ff7715ed89b6f47bff9e0f2d40ad511fbd55e45 (plain) (blame)
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
#
# $FreeBSD$
#

DISTNAME=       ssystem-1.6
CATEGORIES=     astro
MASTER_SITES=       http://plasma.gsfc.nasa.gov/Ssystem/ \
            http://www.wam.umd.edu/~kamelkev/Ssystem/ \
            http://www.wam.umd.edu/~kamelkev/

MAINTAINER=     will@FreeBSD.org

LIB_DEPENDS=        jpeg.9:${PORTSDIR}/graphics/jpeg \
            GL.14:${PORTSDIR}/graphics/Mesa3

MAKEFILE=       Makefile.FreeBSD
FETCH_BEFORE_ARGS=  -b
USE_X_PREFIX=       yes
USE_BISON=      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>