aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/bwidget/Makefile
blob: a1eb542330a21eea883461739d13f982f2a6e0fe (plain) (blame)
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
PORTNAME=	bwidget
PORTVERSION=	1.9.15
CATEGORIES=	x11-toolkits
MASTER_SITES=	SF/tcllib/BWidget/${PORTVERSION}

MAINTAINER=	tcltk@FreeBSD.org
COMMENT=	High-level widget set for Tcl/Tk
WWW=		https://core.tcl.tk/bwidget/home

LICENSE=	TclTk
LICENSE_NAME=	Tcl/Tk License
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=		tk:run zip

OPTIONS_DEFINE=	DOCS

NO_BUILD=	yes
NO_ARCH=	yes
PORTDOCS=	*

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/images
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/lang
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget
	${INSTALL_DATA} ${WRKSRC}/*.tcl ${STAGEDIR}${PREFIX}/lib/bwidget
	cd ${WRKSRC}/images && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/images
	cd ${WRKSRC}/lang && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/lang

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/BWman
	${INSTALL_DATA} ${WRKSRC}/BWman/*.html ${STAGEDIR}${DOCSDIR}/BWman
.for FILE in CHANGES.txt ChangeLog README.txt
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
.endfor

.include <bsd.port.mk>