2003-01-17 13:11:27 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: braincurses
|
|
|
|
# Date created: Wed Jan 15, 2003
|
|
|
|
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= braincurses
|
2003-11-19 14:38:45 +00:00
|
|
|
PORTVERSION= 0.5a
|
2003-01-17 13:11:27 +00:00
|
|
|
CATEGORIES= games
|
2005-02-14 12:42:53 +00:00
|
|
|
MASTER_SITES= http://freebsdcluster.org/~mich/software/
|
2003-01-17 13:11:27 +00:00
|
|
|
|
2003-05-07 11:37:56 +00:00
|
|
|
MAINTAINER= mich@FreeBSD.org
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= A clone of the Mastermind game
|
2003-01-17 13:11:27 +00:00
|
|
|
|
|
|
|
LDFLAGS+= -lncurses
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${CXX} -c -o curses/windows.o curses/windows.cpp && \
|
|
|
|
${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \
|
|
|
|
${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|