aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libgnome/Makefile
blob: 50f44aff4cea22d5fb97115442002cc1aa56c7a6 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection makefile for:    libgnome
# Date created:             17 June 1998
# Whom:                 Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   libgnome
PORTVERSION=    2.8.0
PORTREVISION=   2
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.8
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Libraries for GNOME, a GNU desktop environment

BUILD_DEPENDS=  scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
RUN_DEPENDS=    scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_XPM=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack gnomehier intlhack esound \
        gnomevfs2 libxslt
USE_BISON=  yes
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

PKGDEINSTALL=   ${WRKDIR}/pkg-deinstall

GCONF_SCHEMAS=  desktop_gnome_accessibility_keyboard.schemas \
        desktop_gnome_accessibility_startup.schemas \
        desktop_gnome_applications_browser.schemas \
        desktop_gnome_applications_help_viewer.schemas \
        desktop_gnome_applications_terminal.schemas \
        desktop_gnome_applications_window_manager.schemas \
        desktop_gnome_background.schemas \
        desktop_gnome_file_views.schemas \
        desktop_gnome_interface.schemas desktop_gnome_lockdown.schemas \
        desktop_gnome_peripherals_keyboard.schemas \
        desktop_gnome_peripherals_mouse.schemas \
        desktop_gnome_sound.schemas desktop_gnome_thumbnailers.schemas \
        desktop_gnome_typing_break.schemas

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libgnome_gnome-program.c
.endif

post-patch:
    @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
        < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \
        ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>