1996-08-03 22:42:46 +00:00
|
|
|
# New ports collection makefile for: stars-1.0
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 10 Jul 1996
|
|
|
|
# Whom: searle
|
|
|
|
#
|
1998-08-05 09:31:52 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/07/27 23:23:36 asami Exp $
|
1996-08-03 22:42:46 +00:00
|
|
|
#
|
|
|
|
|
1998-01-28 21:11:20 +00:00
|
|
|
DISTNAME= stars-1.0-ss-10.10
|
1996-08-03 22:42:46 +00:00
|
|
|
PKGNAME= stars-1.0
|
1998-07-27 23:25:33 +00:00
|
|
|
CATEGORIES= astro
|
1996-08-03 22:42:46 +00:00
|
|
|
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/
|
|
|
|
|
1998-01-28 21:11:20 +00:00
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
1996-08-03 22:42:46 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1996-08-03 22:42:46 +00:00
|
|
|
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:
|
1996-08-08 01:15:50 +00:00
|
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/stars $(PREFIX)/bin/stars
|
1996-08-03 22:42:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|