2002-02-16 10:13:28 +01:00
|
|
|
# New ports collection makefile for: gconf2
|
2000-06-29 21:26:07 +02:00
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-02-16 10:13:28 +01:00
|
|
|
PORTNAME= gconf2
|
2003-02-07 19:42:25 +01:00
|
|
|
PORTVERSION= 2.2.0
|
2000-06-29 21:26:07 +02:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2003-02-07 19:42:25 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/GConf/2.2
|
2000-06-29 21:26:07 +02:00
|
|
|
DISTNAME= GConf-${PORTVERSION}
|
2002-02-16 10:13:28 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2000-06-29 21:26:07 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 21:26:07 +02:00
|
|
|
|
2002-02-16 10:13:28 +01:00
|
|
|
LIB_DEPENDS= ORBit-2.0:${PORTSDIR}/devel/ORBit2 \
|
2002-02-27 12:21:00 +01:00
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2 \
|
2003-02-07 19:42:25 +01:00
|
|
|
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
|
2000-06-29 21:26:07 +02:00
|
|
|
|
2002-02-12 00:50:59 +01:00
|
|
|
USE_BZIP2= yes
|
2000-06-29 21:26:07 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2002-07-11 17:31:46 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-08-05 05:58:20 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomehack gnomehier
|
2001-06-01 22:08:36 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-04-26 11:30:55 +02:00
|
|
|
USE_LIBTOOL= yes
|
2002-08-05 05:58:20 +02:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
2000-06-29 21:26:07 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-02-16 10:13:28 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2000-06-29 21:26:07 +02:00
|
|
|
|
2002-08-05 05:58:20 +02:00
|
|
|
post-patch:
|
2002-07-11 17:31:46 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:28:54 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2003-02-07 19:42:25 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|[(]libdir[)]/locale|(prefix)/share/locale|g' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
2000-08-04 03:28:54 +02:00
|
|
|
|
2002-03-19 21:07:49 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/apps
|
|
|
|
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps
|
|
|
|
@${MKDIR} ${PREFIX}/etc/gconf/schemas
|
|
|
|
|
2000-06-29 21:26:07 +02:00
|
|
|
.include <bsd.port.mk>
|