blob: 60f0945fb81ee70731415047a9820c9502a9a186 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
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>
|