1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/braincurses/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

38 lines
866 B
Makefile

# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$
PORTNAME= braincurses
PORTVERSION= 1.1.0
PORTREVISION= 4
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= mich@FreeBSD.org
COMMENT= Clone of the Mastermind game
LICENSE= GPLv2
USES= compiler:c++11-lib gmake ncurses
USE_CSTD= c++11
USE_GITHUB= yes
GH_ACCOUNT= bderrly
LDFLAGS+= -L${LOCALBASE}/lib -lncurses
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && \
${CXX} ${CFLAGS} -c -o main.o main.cpp && \
${CXX} ${CFLAGS} -c -o code.o code.cpp && \
${CXX} ${CFLAGS} -c -o braincurses.o braincurses.cpp && \
${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} code.o ${PORTNAME}.o main.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>