aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/bwidget/Makefile
blob: a41e8a7da50e797af29ad6f6d116dd45c151dc27 (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
39
40
41
42
# New ports collection makefile for:    bwidget
# Date created:             Jan 29, 2002
# Whom:                 Alexander Kabaev <ak03@gte.com>
#
# $FreeBSD$
#

PORTNAME=   bwidget
PORTVERSION=    1.9.2
CATEGORIES= x11-toolkits
MASTER_SITES=   SF/tcllib/BWidget/${PORTVERSION}
DISTNAME=   BWidget-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A high-level widget set for Tcl/Tk

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USE_TK_RUN= 84+

NO_BUILD=   yes

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

do-install:
    @$(MKDIR) ${PREFIX}/lib/bwidget
    ${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/lib/bwidget
    ${TAR} -C ${WRKSRC} -cf - images lang | \
        ${TAR} -v -C ${PREFIX}/lib/bwidget --unlink -xf -
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/bwidget
.if !defined(NOPORTDOCS)
    @$(MKDIR) ${DOCSDIR}/BWman
    ${INSTALL_DATA} ${WRKSRC}/BWman/*.html ${DOCSDIR}/BWman
. for FILE in CHANGES.txt ChangeLog README.txt 
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
. endfor
.endif

.include <bsd.port.mk>