2000-06-29 15:28:06 -04:00
|
|
|
# New ports collection makefile for: gnomevfs
|
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnomevfs
|
2002-03-17 11:08:33 -05:00
|
|
|
PORTVERSION= 1.0.5
|
2002-05-05 16:56:12 -04:00
|
|
|
PORTREVISION= 3
|
2000-06-29 15:28:06 -04:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2001-05-10 15:34:03 -04:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-vfs
|
2000-06-29 15:28:06 -04:00
|
|
|
DISTNAME= gnome-vfs-${PORTVERSION}
|
2002-03-17 11:08:33 -05:00
|
|
|
DIST_SUBDIR= gnome
|
2000-06-29 15:28:06 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 15:28:06 -04:00
|
|
|
|
2002-04-15 13:05:52 -04:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:${PORTSDIR}/misc/gnomemimedata
|
2002-03-17 11:08:33 -05:00
|
|
|
LIB_DEPENDS= gconf-1.1:${PORTSDIR}/devel/gconf \
|
2002-03-18 04:46:46 -05:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv
|
2001-08-15 16:33:16 -04:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2002-01-23 10:22:19 -05:00
|
|
|
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:${PORTSDIR}/misc/gnomemimedata
|
2000-06-29 15:28:06 -04:00
|
|
|
|
2002-03-17 11:08:33 -05:00
|
|
|
USE_BZIP2= yes
|
2000-06-29 15:28:06 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2001-05-04 17:39:58 -04:00
|
|
|
USE_GNOMELIBS= yes
|
2001-10-01 02:37:30 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2001-06-01 16:08:36 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-05-05 16:56:12 -04:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
|
|
|
--disable-gtk-doc
|
2002-01-24 10:09:56 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
2001-10-01 02:37:30 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
2002-01-24 10:09:56 -05:00
|
|
|
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
|
2000-06-29 15:28:06 -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:34:38 -04:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-10-01 02:37:30 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-08-03 21:34:38 -04:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
2001-01-29 23:39:20 -05:00
|
|
|
@find ${WRKSRC} -name 'xml-i18n-*' | xargs ${PERL} -pi -e \
|
|
|
|
's|/usr/local/bin/perl|${PERL}|g'
|
2000-08-03 21:34:38 -04:00
|
|
|
|
2000-06-29 15:28:06 -04:00
|
|
|
.include <bsd.port.mk>
|