1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/braincurses/Makefile

35 lines
800 B
Makefile
Raw Normal View History

# 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.5a
CATEGORIES= games
MASTER_SITES= http://freebsdcluster.org/~mich/software/
MAINTAINER= mich@FreeBSD.org
2003-02-21 12:06:51 +00:00
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>