blob: 2190725163f30de6f2f89ef9ee7b7526bd6a0d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $
#
DISTNAME= teapot-1.09
CATEGORIES= math
MASTER_SITES= http://www.moria.de/~michael/teapot/
MAINTAINER= hauke@NetBSD.org
HOMEPAGE= http://www.moria.de/~michael/teapot/
COMMENT= Curses based spread sheet program
LICENSE= teapot-license
PKG_DESTDIR_SUPPORT= user-destdir
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
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|