diff options
Diffstat (limited to 'math/teapot/Makefile')
-rw-r--r-- | math/teapot/Makefile | 39 |
1 files changed, 9 insertions, 30 deletions
diff --git a/math/teapot/Makefile b/math/teapot/Makefile index 493faf57a52..0a0db8f9200 100644 --- a/math/teapot/Makefile +++ b/math/teapot/Makefile @@ -1,39 +1,18 @@ -# $NetBSD: Makefile,v 1.2 2012/09/11 23:04:34 asau Exp $ -# +# $NetBSD: Makefile,v 1.3 2012/09/13 22:29:09 asau Exp $ -DISTNAME= teapot-1.09 +DISTNAME= teapot-2.3.0 CATEGORIES= math -MASTER_SITES= http://www.moria.de/~michael/teapot/ +MASTER_SITES= http://www.syntax-k.de/projekte/teapot/ MAINTAINER= hauke@NetBSD.org -HOMEPAGE= http://www.moria.de/~michael/teapot/ +HOMEPAGE= http://www.syntax-k.de/projekte/teapot/ COMMENT= Curses based spread sheet program -LICENSE= teapot-license +LICENSE= gnu-gpl-v3 -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${TEA_DOCSDIR} ${EGDIR} - -EGDIR= share/examples/teapot -EXAMPLES= examples/asqrt examples/asqrt.README examples/blink \ - examples/counter examples/counter.README examples/life \ - examples/life.README examples/graphtest.sh examples/sqrt \ - examples/sqrt.README -TEA_DOCSDIR= share/doc/teapot -TEA_DOCS= doc/teapot.doc doc/teapot.html doc/teapot.ps - -do-build: - cd ${WRKSRC} && ${MAKE_PROGRAM} ${MAKE_FLAGS} teapot - cd ${WRKSRC}/doc && ${MAKE} teapot.doc teapot.html teapot.ps - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/teapot ${DESTDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/teapot.1.en \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/teapot.1 -.for file in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/${EGDIR} -.endfor -.for file in ${TEA_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/${TEA_DOCSDIR} -.endfor +USE_LANGUAGES= c c++ +USE_CMAKE= yes +CMAKE_ARGS+= -DENABLE_HELP=NO +CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR} .include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |