New port! BrainCurses is a clone of the Mastermind game implemented in ncurses. Builds on -CURRENT & -STABLE.
Lately Michael L.Hostbaek told: > XLDFLAGS+= -L${LOCALBASE}/lib -lncurses what for is that localbase stuff? > Xdo-build: > X (cd ${WRKSRC} && ${CXX} -c -o curses/windows.o curses/windows.cpp) > X (cd ${WRKSRC} && ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp) > X (cd ${WRKSRC} && ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o) > X > Xdo-install: > X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin > X > X.if !defined(NOPORTDOCS) > X ${MKDIR} ${DOCSDIR} > X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README > X.endif how about a file/Makefile using bsd.prog.mk? if not, the parentheses are not needed: cd ${WRKSRC} && \ ${CXX} ... && \ ${CXX} ... cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
Simon 'corecode' Schubert (corecode) writes: > Lately Michael L.Hostbaek told: > > > XLDFLAGS+= -L${LOCALBASE}/lib -lncurses > > what for is that localbase stuff? Excellent question. The port builds fine without it. I have removed it in the attached patch ! > > how about a file/Makefile using bsd.prog.mk? > if not, the parentheses are not needed: > cd ${WRKSRC} && \ > ${CXX} ... && \ > ${CXX} ... I have chosen the latter.. Thanks for pointing it out to me. -- Best Regards, Michael Landin Hostbaek FreeBSDCluster.org - an International Community */ PGP-key available upon request /*
State Changed From-To: open->closed Commited, thanks! (adjusted the pkg-plist, please check)