# New ports collection makefile for: stars-1.0
# Date created: 10 Jul 1996
# Whom: searle
#
# $FreeBSD: ports/astro/stars/Makefile,v 1.25 2007/05/19 19:57:56 flz Exp $
#
PORTNAME= stars
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= http://hpux.connect.org.uk/ftp/hpux/X11/Demos/${PORTNAME}-${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src-11.00
MAINTAINER= ports@FreeBSD.org
COMMENT= Star field demo
PLIST_FILES= bin/stars
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
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>
syntax highlighted by Code2HTML, v. 0.9.1