summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/blt/Makefile
blob: 324e46be89631270f40c17c3c9be91ddc5f9e384 (plain)
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
# New ports collection makefile for:	blt
# Version required:	2.4m
# Date created:		22 September 1998
# Whom:			Kenjiro Cho <kjc@csl.sony.co.jp>
#
# $FreeBSD$
#

DISTNAME=	BLT2.4m
PKGNAME=	blt-2.4m
CATEGORIES=	x11-toolkits tk80
MASTER_SITES=	ftp://ftp.tcltk.com/pub/blt/

MAINTAINER=	kjc@csl.sony.co.jp

LIB_DEPENDS=	tk80.1:${PORTSDIR}/x11-toolkits/tk80

WRKSRC=		${WRKDIR}/blt2.4m
GNU_CONFIGURE=	yes
MANN=		BLT.n barchart.n beep.n bgexec.n bitmap.n \
		bltdebug.n busy.n cutbuffer.n dragdrop.n eps.n \
		graph.n hierbox.n htext.n spline.n stripchart.n \
		table.n tabset.n tile.n vector.n watch.n winop.n

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "elf"
SO_VERSION=	2
.else
SO_VERSION=	2.4
.endif

post-install:
	${LN} -sf libBLT24.so.${SO_VERSION} ${PREFIX}/lib/libBLT24.so
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud