blob: 56ff02ebb29d72a2caa4374196cb52e49f68b040 (
plain)
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
|
# Created by: Yukihiro Nakai <Nakai@technologist.com>
# $FreeBSD$
# $MCom: ports/x11/libgnome/Makefile,v 1.135 2010/09/27 20:06:45 kwm Exp $
PORTNAME= libgnome
PORTVERSION= 2.32.0
PORTREVISION?= 3
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Libraries for GNOME, a GNU desktop environment
USES= tar:bzip2
.if !defined(REFERENCE_PORT)
BUILD_DEPENDS= rarian-sk-config:textproc/rarian
LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra
RUN_DEPENDS= rarian-sk-config:textproc/rarian
INSTALL_TARGET= install-strip
USE_GNOME= gnomeprefix intlhack esound libbonobo \
gnomevfs2 referencehack
USES+= bison gettext gmake libtool:keepla pathfix pkgconfig
USE_XORG= xpm
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-deinstall
GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \
desktop_gnome_accessibility_startup.schemas \
desktop_gnome_applications_at_mobility.schemas \
desktop_gnome_applications_at_visual.schemas \
desktop_gnome_applications_browser.schemas \
desktop_gnome_applications_office.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_thumbnail_cache.schemas \
desktop_gnome_thumbnailers.schemas \
desktop_gnome_typing_break.schemas
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/libgnome/libgnome-2.0.pc.in
@${REINPLACE_CMD} -e '/^$$/d' ${WRKSRC}/po/POTFILES.in
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/libgnome/Makefile.in
.include <bsd.port.mk>
.endif
|