2000-06-29 15:26:07 -04:00
|
|
|
# New ports collection makefile for: gconf
|
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gconf
|
2001-05-14 17:58:11 -04:00
|
|
|
PORTVERSION= 1.0.1
|
2001-06-05 00:58:02 -04:00
|
|
|
PORTREVISION= 2
|
2000-06-29 15:26:07 -04:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2001-05-14 17:58:11 -04:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/GConf
|
2000-06-29 15:26:07 -04:00
|
|
|
DISTNAME= GConf-${PORTVERSION}
|
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 15:26:07 -04:00
|
|
|
|
2001-05-04 17:39:58 -04:00
|
|
|
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile \
|
2001-06-05 00:58:02 -04:00
|
|
|
oaf.0:${PORTSDIR}/devel/oaf \
|
|
|
|
db3.2:${PORTSDIR}/databases/db3
|
2000-06-29 15:26:07 -04:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_LIBTOOL= yes
|
2001-05-04 17:39:58 -04:00
|
|
|
USE_GNOMELIBS= yes
|
2001-06-01 16:08:36 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-29 15:26:07 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-02-09 17:00:30 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-06-29 15:26:07 -04:00
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-03 21:28:54 -04: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 12:26:38 -04: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 15:26:07 -04:00
|
|
|
.include <bsd.port.mk>
|