aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tktable/Makefile
blob: d01edcecd7f2173a1663bc8440f7b94585355e3f (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
# Created by: 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= ports@FreeBSD.org
COMMENT=    A table/matrix widget extension to Tk

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

USES+=      tk
USE_LDCONFIG=   ${PREFIX}/lib/${DISTNAME}

GNU_CONFIGURE=  yes

PLIST_SUB=  DISTNAME=${DISTNAME}

CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
        --with-tk=${TK_LIBDIR} \
        --with-tclinclude=${TCL_INCLUDEDIR} \
        --with-tkinclude=${TK_INCLUDEDIR} \
        --with-x \
        --prefix=${PREFIX} \
        --exec-prefix=${PREFIX}

.if defined(MAINTAINER_MODE)
test: build
    (cd ${WRKSRC};  \
    ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
.endif

.include <bsd.port.mk>