2000-06-29 19:26:07 +00:00
|
|
|
# New ports collection makefile for: gconf
|
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gconf
|
2001-08-16 15:27:03 +00:00
|
|
|
PORTVERSION= 1.0.4
|
2000-06-29 19:26:07 +00:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2001-05-14 21:58:11 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/GConf
|
2000-06-29 19:26:07 +00:00
|
|
|
DISTNAME= GConf-${PORTVERSION}
|
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 19:26:07 +00:00
|
|
|
|
2001-05-04 21:39:58 +00:00
|
|
|
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile \
|
2001-06-05 04:58:02 +00:00
|
|
|
oaf.0:${PORTSDIR}/devel/oaf \
|
2001-08-01 11:56:24 +00:00
|
|
|
db3.2:${PORTSDIR}/databases/db3
|
2000-06-29 19:26:07 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2001-05-04 21:39:58 +00:00
|
|
|
USE_GNOMELIBS= yes
|
2001-06-01 20:08:36 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-08-03 07:17:43 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-29 19:26:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-02-09 22:00:30 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-06-29 19:26:07 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 01:28:54 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
2000-10-20 16:26:38 +00:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/gconf/1/path ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/gconf/1/path.example ${PREFIX}/etc/gconf/1/path ; \
|
|
|
|
fi
|
|
|
|
|
2000-06-29 19:26:07 +00:00
|
|
|
.include <bsd.port.mk>
|