aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libimg/Makefile
blob: 6453397dfd6745df380772dc9babda49700aaa44 (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
# New ports collection makefile for:    img
# Date Created:     20 February 1999
# Whom:         Glenn Johnson
#
# $FreeBSD$
#

PORTNAME=   libimg
PORTVERSION=    1.2.2
CATEGORIES= graphics tk82
MASTER_SITES=   ftp://ftp.neosoft.com/pub/tcl/sorted/packages-8.0/graphics/Img/1.2/
DISTNAME=   img${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
        png.4:${PORTSDIR}/graphics/png \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        tiff.4:${PORTSDIR}/graphics/tiff

WRKSRC=     ${WRKDIR}/img1.2.2

ALL_TARGET= default

INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tk=${PREFIX}/lib/tk8.2 \
        --disable-stubs

post-install:
    ${LN} -sf ${PREFIX}/lib/Img1.2/libimg82.so.1 ${PREFIX}/lib/libimg.so.1
    ${LN} -sf ${PREFIX}/lib/libimg.so.1 ${PREFIX}/lib/libimg.so

.include <bsd.port.mk>