diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/teapot/Makefile | 39 | ||||
-rw-r--r-- | math/teapot/PLIST | 17 | ||||
-rw-r--r-- | math/teapot/distinfo | 10 | ||||
-rw-r--r-- | math/teapot/patches/patch-CMakeLists.txt | 13 | ||||
-rw-r--r-- | math/teapot/patches/patch-aa | 23 |
5 files changed, 30 insertions, 72 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" diff --git a/math/teapot/PLIST b/math/teapot/PLIST index a1530d43497..df69682f5d7 100644 --- a/math/teapot/PLIST +++ b/math/teapot/PLIST @@ -1,16 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/09/13 22:29:09 asau Exp $ bin/teapot man/man1/teapot.1 -share/doc/teapot/teapot.doc -share/doc/teapot/teapot.html -share/doc/teapot/teapot.ps -share/examples/teapot/asqrt -share/examples/teapot/asqrt.README -share/examples/teapot/blink -share/examples/teapot/counter -share/examples/teapot/counter.README -share/examples/teapot/graphtest.sh -share/examples/teapot/life -share/examples/teapot/life.README -share/examples/teapot/sqrt -share/examples/teapot/sqrt.README +share/doc/teapot/COPYING +share/doc/teapot/README diff --git a/math/teapot/distinfo b/math/teapot/distinfo index a76aa153a48..5bbf45cb9ea 100644 --- a/math/teapot/distinfo +++ b/math/teapot/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $ +$NetBSD: distinfo,v 1.2 2012/09/13 22:29:10 asau Exp $ -SHA1 (teapot-1.09.tar.gz) = 5618bcc3c2e10ed6af73a0f8ee29599c7fc5967d -RMD160 (teapot-1.09.tar.gz) = e592ff0a193e3c0f3dc5d774c07e72692d211240 -Size (teapot-1.09.tar.gz) = 161409 bytes -SHA1 (patch-aa) = 5f849fc7436df413e6e925835056b598c3ffd237 +SHA1 (teapot-2.3.0.tar.gz) = cac70c7967ba72166cdbd1806b674cd8299399e7 +RMD160 (teapot-2.3.0.tar.gz) = 5848a39bfcd4ebc942ed3f5f354ecb367b068dab +Size (teapot-2.3.0.tar.gz) = 113647 bytes +SHA1 (patch-CMakeLists.txt) = ac06834092bfc397f7c1c323c7a6990d0d03f9a4 diff --git a/math/teapot/patches/patch-CMakeLists.txt b/math/teapot/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..8a839b60d8d --- /dev/null +++ b/math/teapot/patches/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2012/09/13 22:29:11 asau Exp $ + +--- CMakeLists.txt.orig 2012-02-06 11:30:53.000000000 +0000 ++++ CMakeLists.txt +@@ -105,7 +105,7 @@ if (ENABLE_HELP) + endif () + + install(FILES COPYING README DESTINATION share/doc/teapot) +-install(FILES teapot.1 DESTINATION share/man/man1) ++install(FILES teapot.1 DESTINATION ${PKGMANDIR}/man1) + + add_custom_target(dist + COMMAND ${CMAKE_COMMAND} -E remove_directory teapot-${Teapot_VERSION_MAJOR}.${Teapot_VERSION_MINOR}.${Teapot_VERSION_PATCH} diff --git a/math/teapot/patches/patch-aa b/math/teapot/patches/patch-aa deleted file mode 100644 index a837fb23e30..00000000000 --- a/math/teapot/patches/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $ - ---- doc/Makefile.orig 2003-09-22 22:24:03.000000000 +0200 -+++ doc/Makefile -@@ -5,15 +5,15 @@ teapot.mm: teapot.MM command.tbl.0 editl - soelim teapot.MM | grep -v '^\.lf' >teapot.mm - - command.html.0 command.tbl.0: command command.bat insTH.ed -- teapot -b command <command.bat -+ ../teapot -b command <command.bat - ed command.tbl.0 <insTH.ed - - editline.html.0 editline.tbl.0: editline editline.bat insTH.ed -- teapot -b editline <editline.bat -+ ../teapot -b editline <editline.bat - ed editline.tbl.0 <insTH.ed - - unsorted.html.0 unsorted.tbl.0: unsorted unsorted.bat unsorted.ed -- teapot -b unsorted <unsorted.bat -+ ../teapot -b unsorted <unsorted.bat - ed unsorted.tbl.0 <unsorted.ed - - teapot.ps: teapot.mm |