blob: 7e974c35184bf7bab054d1a258d4ee190c6bedbd (
plain) (
tree)
|
|
# ex:ts=8
# Ports collection makefile for: braincurses
# Date created: Wed Jan 15, 2003
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#
PORTNAME= braincurses
PORTVERSION= 0.2
CATEGORIES= games
MASTER_SITES= http://uhaweb.hartford.edu/hyland/derr/
MAINTAINER= mich@FreeBSD.org
COMMENT= A clone of the Mastermind game
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>
|