33 lines
802 B
Makefile
33 lines
802 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/03 21:52:09 naddy Exp $
|
||
|
|
||
|
COMMENT= clone of the Mastermind game
|
||
|
|
||
|
DISTNAME= braincurses-0.5b
|
||
|
CATEGORIES= games
|
||
|
HOMEPAGE= http://sourceforge.net/projects/braincurses/
|
||
|
|
||
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
||
|
|
||
|
# GPLv2
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=braincurses/}
|
||
|
|
||
|
WANTLIB= c m ncurses stdc++
|
||
|
|
||
|
do-build:
|
||
|
cd ${WRKBUILD} && ${CXX} ${CXXFLAGS} -o braincurses \
|
||
|
curses/windows.cpp braincurses.cpp -lncurses
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_PROGRAM} ${WRKBUILD}/braincurses ${PREFIX}/bin
|
||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/braincurses
|
||
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/braincurses
|
||
|
|
||
|
NO_REGRESS= Yes
|
||
|
|
||
|
.include <bsd.port.mk>
|