mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
5e5841f2cd
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
31 lines
750 B
Makefile
31 lines
750 B
Makefile
# New ports collection makefile for: stars-1.0
|
|
# Date created: 10 Jul 1996
|
|
# Whom: searle
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= stars
|
|
PORTVERSION= 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/
|
|
DISTFILES= stars-1.0-ss-11.00.tar.gz
|
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
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>
|