blob: f673baa87e1b7729f6eb517fe2657fa672037097 (
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
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: tktable
# Date created: 25 Jun 2003
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= tktable
PORTVERSION= 2.10
PORTREVISION= 1
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/tk/Tk/}${PORTVERSION}
MAINTAINER= mm@FreeBSD.org
COMMENT= A table/matrix widget extension to Tk
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/license.txt
USE_XORG= x11
USE_TK= 84+
GNU_CONFIGURE= yes
PORTDOCS= *
PLIST_SUB= DISTNAME=${DISTNAME}
.include <bsd.port.pre.mk>
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR} \
--with-tkinclude=${TK_INCLUDEDIR} \
--with-x
post-patch:
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-doc
.endif
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.if defined(MAINTAINER_MODE)
test: build
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
.endif
.include <bsd.port.post.mk>
|