1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/astro/stars/Makefile
Satoshi Asami ceba211283 Rename all USE_X11 to USE_X_PREFIX. Requires 1.279 (3.0-current) or
1.227.2.41 (2.2-stable) of bsd.port.mk for this to be interpreted
correctly.
1998-08-05 09:31:52 +00:00

29 lines
780 B
Makefile

# New ports collection makefile for: stars-1.0
# Version required: 1.0
# Date created: 10 Jul 1996
# Whom: searle
#
# $Id: Makefile,v 1.6 1998/07/27 23:23:36 asami Exp $
#
DISTNAME= stars-1.0-ss-10.10
PKGNAME= stars-1.0
CATEGORIES= astro
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= jseger@FreeBSD.org
USE_X_PREFIX= 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>