aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tile/Makefile
blob: e9894481a33d730b12e1fe659ac688e3c67791a9 (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
# New ports collection makefile for:    tile
# Date created:     18 July 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   tile
PORTVERSION=    0.8.4.0
CATEGORIES= x11-toolkits tk
MASTER_SITES=   SF/tktable/${PORTNAME}/${PORTNAME}-0-8-4-0

MAINTAINER= mm@FreeBSD.org
COMMENT=    Themed widget set for Tk

USE_TK=     84+

USE_AUTOTOOLS=  autoconf:268

GNU_CONFIGURE=  yes
TKPKG=      ${PORTNAME}${PORTVERSION}
PLIST_SUB=  VER=${PORTVERSION} TKPKG=${TKPKG}

.include <bsd.port.pre.mk>

CONFIGURE_ARGS+=    --with-tcl=${TCL_LIBDIR} \
        --with-tk=${TK_LIBDIR} \
        --exec-prefix=${PREFIX} --enable-shared
CONFIGURE_ENV+= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \
        TK_INCLUDEDIR="${TK_INCLUDEDIR}"

pre-configure:
    @${REINPLACE_CMD} -e "s/package require Tcl 8\../package require Tcl ${TCL_VER}/g" \
        ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>