mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
8a633c7600
No response from: Maintainer (a long time ago)
32 lines
782 B
Makefile
32 lines
782 B
Makefile
# New ports collection makefile for: stars-1.0
|
|
# Version required: 1.0
|
|
# Date created: 10 Jul 1996
|
|
# Whom: searle
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= stars-1.0-ss-10.20
|
|
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)
|
|
|
|
CC?= cc
|
|
CFLAGS?= -O2
|
|
|
|
do-build:
|
|
$(CC) -I$(PREFIX)/include $(CFLAGS) -c $(WRKSRC)/xwin.c -o $(WRKSRC)/xwin.o
|
|
$(CC) -I$(PREFIX)/include $(CFLAGS) -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>
|