aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnome-libs/Makefile
blob: 9722c35a727b445fdaa27d3ec8d6dcbbc7d6b402 (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
39
40
41
42
43
44
45
# New ports collection makefile for:    gnomelibs
# Version required:         0.99.4
# Date created:             17 June 1998
# Whom:                 Yukihiro Nakai <Nakai@technologist.com>
#
# $Id: Makefile,v 1.28 1999/01/23 07:05:23 vanilla Exp $
#

DISTNAME=   gnome-libs-0.99.4
PKGNAME=    gnomelibs-0.99.4
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-libs

MAINTAINER= nacai@iname.com

BUILD_DEPENDS=  gettext:${PORTSDIR}/devel/gettext
RUN_DEPENDS=    gettext:${PORTSDIR}/devel/gettext
LIB_DEPENDS=    gdk_imlib.2:${PORTSDIR}/graphics/imlib \
        gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
        tiff.4:${PORTSDIR}/graphics/tiff34 \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        gif.3:${PORTSDIR}/graphics/giflib \
        png.3:${PORTSDIR}/graphics/png \
        Xpm.4:${PORTSDIR}/graphics/xpm \
        ORBit.1:${PORTSDIR}/devel/ORBit \
        esd.1:${PORTSDIR}/audio/esound

USE_X_PREFIX=   yes
USE_PERL5=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
        --datadir=${PREFIX}/share/gnome \
        --disable-gnome-hello \
        --disable-test-gnome
CONFIGURE_ENV=  CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include \
        -I${X11BASE}/include" \
        GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
        LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"

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

.include <bsd.port.mk>