blob: 863324632b65af2cb811b5c6dabd26833e050482 (
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
|
# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$
PORTNAME= braincurses
PORTVERSION= 1.0.0
CATEGORIES= games
MAINTAINER= mich@FreeBSD.org
COMMENT= Clone of the Mastermind game
LICENSE= GPLv2
USES= ncurses
USE_GITHUB= yes
GH_ACCOUNT= bderrly
GH_TAGNAME= 8f603c1
LDFLAGS+= -L${LOCALBASE}/lib -lncurses
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && \
${CXX} -c -o windows/windows.o windows/windows.cpp && \
${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \
${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} windows/windows.o ${PORTNAME}.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README.md
.include <bsd.port.mk>
|