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

PORTNAME=   tile
PORTVERSION=    0.7.8
PORTREVISION=   1
CATEGORIES= x11-toolkits tk
MASTER_SITES=   SF/tktable

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

USE_TK=     yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
        --with-tk=${TK_LIBDIR} \
        --exec-prefix=${PREFIX} --enable-shared
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDES} ${TK_INCLUDES}"
TCL_INCLUDES=   -I${LOCALBASE}/include/tcl${TK_VER} -I${LOCALBASE}/include/tcl${TK_VER}/generic
TK_INCLUDES=    -I${LOCALBASE}/include/tk${TK_VER} -I${LOCALBASE}/include/tk${TK_VER}/generic
TKPKG=      ${PORTNAME}${PORTVERSION}
PLIST_SUB=  VER=${PORTVERSION} TKPKG=${TKPKG}
USE_LDCONFIG=   ${PREFIX}/lib/${TKPKG}

post-install:
    @${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0

.include <bsd.port.mk>