summaryrefslogtreecommitdiff
path: root/devel/tcl-tclOO/Makefile
blob: bfe1e52820c3c4c3d84c1b9e01e9b499d992da72 (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.3 2014/01/11 14:42:03 adam Exp $
#

DISTNAME=	TclOO1.0.1
PKGNAME=	${DISTNAME:S/TclOO/tcl-tclOO-/}
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=tcl/}

MAINTAINER=	rodent@NetBSD.org
HOMEPAGE=	http://www.tcl.tk/
COMMENT=	Core for other TCL OO extensions and basic TCL OO framework
LICENSE=	2-clause-bsd # with custom, non-effective terms, same as Tcl

# Note: TclOO is included in Tcl8.6, delete this package after pkgsrc bumps Tcl
CONFLICTS=	tcl-9* tcl-8.[6-9].*

GNU_CONFIGURE=	yes

# Make sure package installs all necessary headers:
INSTALL_TARGET=	install install-private-headers

SUBST_CLASSES+=			manpages
SUBST_STAGE.manpages=	post-patch
SUBST_MESSAGE.manpages=	Fixing manual pages
SUBST_FILES.manpages=	doc/*.[3n]
SUBST_SED.manpages=		-e "/^\\.so /d"

post-build:
	${MV} ${WRKSRC}/doc/class.n ${WRKSRC}/doc/tclOO-class.n

.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"