aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib/Makefile
blob: 640bcddbffc95a25c838eba051c165c299b01150 (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
38
# New ports collection makefile for:    imlib
# Version required: 1.8.2
# Date created:     10 June 1997
# Whom:         Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.38 1998/12/26 19:54:26 vanilla Exp $
#

DISTNAME=   imlib-1.8.2
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
        ftp://ftp.gnome.org/pub/GNOME/sources/
#MASTER_SITES=  ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment/ \
#       ftp://www.rasterman.com/pub/enlightenment/enlightenment/ \
#       ftp://ftp.labs.redhat.com/pub/imlib/TAR/

MAINTAINER= vanilla@FreeBSD.ORG

LIB_DEPENDS=    png.2:${PORTSDIR}/graphics/png \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        tiff.4:${PORTSDIR}/graphics/tiff34 \
        gif.3:${PORTSDIR}/graphics/giflib \
        gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel

USE_GMAKE=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS=-I${LOCALBASE}/include \
        GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
        GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
        LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
        INSTALL="$${INSTALL} -c"

post-install:
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
    ${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>