diff --git a/games/braincurses/Makefile b/games/braincurses/Makefile index be368c7539ee..094720a338d7 100644 --- a/games/braincurses/Makefile +++ b/games/braincurses/Makefile @@ -2,27 +2,31 @@ # $FreeBSD$ PORTNAME= braincurses -PORTVERSION= 0.5a +PORTVERSION= 1.0.0 CATEGORIES= games -MASTER_SITES= http://freebsdcluster.org/~mich/software/ MAINTAINER= mich@FreeBSD.org COMMENT= Clone of the Mastermind game -LDFLAGS+= -lncurses -WRKSRC= ${WRKDIR}/${PORTNAME} +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= bderrly +GH_TAGNAME= 8f603c1 + +LDFLAGS+= -L${LOCALBASE}/lib -lncurses OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && \ - ${CXX} -c -o curses/windows.o curses/windows.cpp && \ + ${CXX} -c -o windows/windows.o windows/windows.cpp && \ ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \ - ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o + ${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 ${STAGEDIR}${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README.md .include diff --git a/games/braincurses/distinfo b/games/braincurses/distinfo index 26dcc1dd2549..fba3f627cdb7 100644 --- a/games/braincurses/distinfo +++ b/games/braincurses/distinfo @@ -1,2 +1,2 @@ -SHA256 (braincurses-0.5a.tar.gz) = 495ecd6b94a72044101365d5b9d8aee50d7d326b4537ec57815715c1fa31ea8d -SIZE (braincurses-0.5a.tar.gz) = 11911 +SHA256 (bderrly-braincurses-1.0.0-8f603c1_GH0.tar.gz) = e9c5f48a312414067ad459d6e6c09372da772c7a0ada3971775899fdbd25fdb5 +SIZE (bderrly-braincurses-1.0.0-8f603c1_GH0.tar.gz) = 11730 diff --git a/games/braincurses/pkg-plist b/games/braincurses/pkg-plist index 6f22ffae95d5..7d28dbc6f15a 100644 --- a/games/braincurses/pkg-plist +++ b/games/braincurses/pkg-plist @@ -1,2 +1,2 @@ bin/braincurses -%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.md