blob: e368d6379b4afe4ae46996ae6e2c74909ab662bf (
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
|
# $NetBSD: Makefile,v 1.16 1999/03/07 11:31:46 tron Exp $
#
DISTNAME= gnome-libs-1.0.1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gnome.org/pub/GNOME/sources/gnome-1.0/sources/ \
ftp://ftp.jimpick.com/pub/mirrors/gnome/gnome-1.0/sources/ \
ftp://ftp.informatik.uni-bonn.de/pub/os/unix/gnome/gnome-1.0/sources/
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnome.org/
DEPENDS+= ORBit-0.4.0:../../corba/ORBit
DEPENDS+= imlib-1.9.4:../../graphics/imlib
DEPENDS+= xpm-3.4k:../../graphics/xpm
NOT_FOR_ARCHS= alpha # problems with gtk
GNU_CONFIGURE= yes
USE_X11BASE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LDFLAGS+= "-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--with-glib-prefix=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
LOCALBASE=${LOCALBASE} \
X11BASE=${X11BASE}
LOCALSTATEDIR= /var/gnome
PLIST_SRC= ${WRKDIR}/PLIST
pre-build:
(cd ${WRKSRC}/support; ${GMAKE} gnomesupport.h)
post-install:
${MKDIR} ${LOCALSTATEDIR}
${SED} -e 's#@@LOCALSTATEDIR@@#${LOCALSTATEDIR}#' \
<${PKGDIR}/PLIST >${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
|