aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/blt/Makefile
blob: 4739dbbfc4797d90c3750b2a969c7141d0f0672b (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
# New ports collection makefile for:    blt
# Version required: 2.4f
# Date created:     22 September 1998
# Whom:         Kenjiro Cho <kjc@csl.sony.co.jp>
#
# $Id: Makefile,v 1.23 1998/10/20 01:24:32 steve Exp $
#

DISTNAME=   BLT2.4f
PKGNAME=    blt-2.4f
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.4f
GNU_CONFIGURE=  yes
MANN=       BLT.n barchart.n bgexec.n bitmap.n bltdebug.n busy.n \
        dragdrop.n eps.n graph.n htext.n hierbox.n spline.n \
        stripchart.n table.n tabset.n tile.n vector.n watch.n winop.n \
        beep.n cutbuffer.n

.include <bsd.port.pre.mk>

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

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

.include <bsd.port.post.mk>