aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnomelibs/Makefile
blob: 39dccdb790ba753a11aa3f9e3bcc726e6da261b7 (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
# New ports collection makefile for:    gnomelibs
# Version required:         1.0.1
# Date created:             17 June 1998
# Whom:                 Yukihiro Nakai <Nakai@technologist.com>
#
# $Id: Makefile,v 1.32 1999/02/18 17:53:23 vanilla Exp $
#

DISTNAME=   gnome-libs-1.0.1
PKGNAME=    gnomelibs-1.0.1
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-1.0/sources

MAINTAINER= nacai@iname.com

LIB_DEPENDS=    gdk_imlib.2:${PORTSDIR}/graphics/imlib \
        Xpm.4:${PORTSDIR}/graphics/xpm \
        ORBit.1:${PORTSDIR}/devel/ORBit \
        esd.1:${PORTSDIR}/audio/esound

# implicit dependencies:
# gettext, gtk12, tiff34, jpeg, giflib, png

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="-I${LOCALBASE}/include -I${X11BASE}/include \
            -I${LOCALBASE}/include/giflib" \
        GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
        LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"

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

.include <bsd.port.mk>