blob: 866effb82646d7e2dd6ab780b48da21a6a71e4dd (
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
|
# New ports collection makefile for: tktreectrl
# Date created: 08 October 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tktreectrl
PORTVERSION= 2.2.3
PORTREVISION= 2
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-column hierarchical listbox widget
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${TCL_INCLUDEDIR} -I${TCL_INCLUDEDIR}/generic
TK_INCLUDES= -I${TK_INCLUDEDIR} -I${TK_INCLUDEDIR}/generic \
-I${TK_INCLUDEDIR}/unix
TKPKG= treectrl${PORTVERSION}
TKLIBVER= 2.2
PLIST_SUB= VER=${PORTVERSION} TKPKG=${TKPKG} TKLIBVER=${TKLIBVER}
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
MANN= treectrl.n
post-install:
@${LN} -sf ${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so \
${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so.0
@${LN} -sf ${PREFIX}/lib/${TKPKG}/libtreectrl${TKLIBVER}.so \
${PREFIX}/lib/${TKPKG}/libtreectrl.so.0
.include <bsd.port.mk>
|