blob: 85f7a1137b07e1a1da23d2de83b97d175cba49c7 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# $NetBSD: Makefile,v 1.78 2002/10/19 10:55:01 rh Exp $
DISTNAME= gnome-libs-1.4.1.4
PKGREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-libs/1.4/}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Libraries for the GNU Network Object Model Environment
BUILD_USES_MSGFMT= YES
USE_X11BASE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--with-glib-prefix=${LOCALBASE} \
--with-kde-datadir=${X11PREFIX}/share/kde
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
X11BASE=${X11BASE} \
PKGLOCALEDIR=${PKGLOCALEDIR}
USE_BUILDLINK2= YES
LOCALSTATEDIR= /var/gnome
PLIST_SUBST+= LOCALBASE=${LOCALBASE} \
LOCALEDIR=${LOCALEDIR} \
LOCALSTATEDIR=${LOCALSTATEDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
. include "../../databases/db/buildlink2.mk"
CPPFLAGS+= -I${BUILDLINK_PREFIX.db}/include/db2
pre-configure:
${MV} ${WRKSRC}/configure ${WRKSRC}/configure-pre-db-sub && \
${SED} -e 's|-ldb|-ldb2|g' \
< ${WRKSRC}/configure-pre-db-sub \
> ${WRKSRC}/configure && \
${CHMOD} 0755 ${WRKSRC}/configure
.endif
post-extract:
.for file in gnome-app-helper-convenience-macros.htm \
gnome-app-helper-keybindings-config.htm
cd ${WRKSRC}/devel-docs/gnome-dev-info/gnome-dev-info && \
( [ -e ${file}l ] || ${MV} ${file} ${file}l )
.endfor
post-patch:
${MV} ${WRKSRC}/gnome-config.in ${WRKSRC}/gnome-config.in-pre-lpath && \
${SED} -e "s|@LOCALBASE@|${LOCALBASE}|g" \
< ${WRKSRC}/gnome-config.in-pre-lpath \
> ${WRKSRC}/gnome-config.in
pre-build:
cd ${WRKSRC}/support && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} gnomesupport.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/CORBA/servers
${TOUCH} ${PREFIX}/etc/CORBA/servers/.directory
${INSTALL_DATA_DIR} ${LOCALSTATEDIR}
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/libart.m4 \
${LOCALBASE}/share/aclocal/libart.m4
.include "../../audio/esound/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../graphics/imlib/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../net/ORBit/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|