aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stars/Makefile
blob: f6fa917065e51120f94029943c58e636dfaec904 (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
# New ports collection makefile for:   stars-1.0
# Version required: 1.0
# Date created:     10 Jul 1996
# Whom:         searle
#
# $Id: Makefile,v 1.2 1996/08/08 01:15:50 chuckr Exp $
#

DISTNAME=   stars-1.0-ss-9.03
PKGNAME=    stars-1.0
CATEGORIES+=    astro x11
MASTER_SITES=   ftp://hpux.csc.liv.ac.uk/hpux/X11/Demos/stars-1.0/ \
        ftp://askdonald.ask.uni-karlsruhe.de/hpux/X11/Demos/stars-1.0/

MAINTAINER= searle@longacre.demon.co.uk

USE_X11=    yes
WRKSRC=     $(WRKDIR)/$(PKGNAME)

do-build:
    cc -I$(PREFIX)/include -O2 -c $(WRKSRC)/xwin.c -o $(WRKSRC)/xwin.o
    cc -I$(PREFIX)/include -O2 -c $(WRKSRC)/main.c -o $(WRKSRC)/main.o
    cc $(WRKSRC)/main.o $(WRKSRC)/xwin.o -L$(PREFIX)/lib -lX11 -lm -o $(WRKSRC)/stars

do-install:
    $(INSTALL_PROGRAM) $(WRKSRC)/stars $(PREFIX)/bin/stars

.include <bsd.port.mk>