blob: 96ed96cf023783e3988d26dfbdf27dcacc664924 (
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
|
# $NetBSD: Makefile,v 1.11 2012/10/29 05:06:53 asau Exp $
DISTNAME= BWidget-1.9.0
PKGNAME= tk-${DISTNAME}
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcllib/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tcllib.sourceforge.net/
COMMENT= High-level Widget Set for Tcl/Tk
LICENSE= mit
DEPENDS+= tcl>=8.4:../../lang/tcl
DEPENDS+= tk>=8.4:../../x11/tk
PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_BUILD= YES
NO_CONFIGURE= YES
USE_TOOLS+= gtar
PLIST_SUBST+= BWDIR=${DISTNAME}
INSTALLATION_DIRS= lib/tcl
do-install:
cd ${DESTDIR}${PREFIX}/lib/tcl && ${GTAR} zxpf ${DISTDIR}/${DISTFILES:Q} --exclude=CVS
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/lib/tcl/${DISTNAME}
.include "../../mk/bsd.pkg.mk"
|