1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-toolkits/blt/Makefile
Kenjiro Cho 8a267b5802 update BLT to BLT2.4z, and switch to tcl/tk8.4.
bump the share lib version to libBLT24.so.3.

Submitted by Klaus Robert Suetterlin <robert@mpe.mpg.de> with minor tweak by me.
PR:	57960
2003-10-22 10:16:00 +00:00

56 lines
1.6 KiB
Makefile

# New ports collection makefile for: blt
# Date created: 22 September 1998
# Whom: Kenjiro Cho <kjc@csl.sony.co.jp>
#
# $FreeBSD$
#
PORTNAME= blt
PORTVERSION= 2.4z
CATEGORIES= x11-toolkits tk84
MASTER_SITES= ftp://ftp.sourceforge.net/blt/ \
ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/
DISTNAME= BLT${PORTVERSION}
PATCH_SITES= ftp://ftp.sourceforge.net/blt/ \
ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/
PATCHFILES= blt2.4z-patch-2
PATCH_DIST_STRIP= -p1
MAINTAINER= kjc@csl.sony.co.jp
COMMENT= A Tk extension (with shared libs)
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
WRKSRC= ${WRKDIR}/blt2.4z
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--exec_prefix=${PREFIX} \
--with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
--with-tk=${LOCALBASE}/lib/tk${TK_VER} \
--with-tcllibs=${LOCALBASE}/lib/ \
--with-tklibs=${LOCALBASE}/lib/ \
--with-tclincls=${LOCALBASE}/include/tcl${TK_VER} \
--with-tkincls=${LOCALBASE}/include/tk${TK_VER}
INSTALLS_SHLIB= yes
MANN= BLT.n barchart.n beep.n bgexec.n bitmap.n \
bltdebug.n busy.n container.n cutbuffer.n dragdrop.n eps.n \
graph.n hierbox.n hiertable.n htext.n spline.n \
stripchart.n table.n tabset.n tree.n treeview.n tile.n \
vector.n watch.n winop.n
MAN3= Blt_Tree.3 Blt_TreeCreate.3 Blt_TreeCreateNode.3 \
Blt_TreeDeleteNode.3 Blt_TreeExists.3 Blt_TreeGetNode.3 \
Blt_TreeGetToken.3 Blt_TreeName.3 Blt_TreeNodeId.3 \
Blt_TreeReleaseToken.3
TK_VER?= 8.4
.include <bsd.port.pre.mk>
post-install:
${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so
${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so
.include <bsd.port.post.mk>