6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# New ports collection makefile for: tktreectrl
|
|
# Date created: 08 October 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tktreectrl
|
|
PORTVERSION= 2.2.9
|
|
CATEGORIES= x11-toolkits tk
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= sylvio@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
|
|
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>
|