2000-06-29 21:28:06 +02:00
|
|
|
# New ports collection makefile for: gnomevfs
|
|
|
|
# Date created: 28th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnomevfs
|
2002-03-17 17:08:33 +01:00
|
|
|
PORTVERSION= 1.0.5
|
2002-05-06 21:49:45 +02:00
|
|
|
PORTREVISION= 4
|
2000-06-29 21:28:06 +02:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-vfs/1.0
|
2000-06-29 21:28:06 +02:00
|
|
|
DISTNAME= gnome-vfs-${PORTVERSION}
|
2002-03-17 17:08:33 +01:00
|
|
|
DIST_SUBDIR= gnome
|
2000-06-29 21:28:06 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-29 21:28:06 +02:00
|
|
|
|
2002-07-11 19:16:10 +02:00
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
2001-08-15 22:33:16 +02:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2000-06-29 21:28:06 +02:00
|
|
|
|
2002-03-17 17:08:33 +01:00
|
|
|
USE_BZIP2= yes
|
2000-06-29 21:28:06 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2002-07-11 19:16:10 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix glib12 libxml gtk12 orbit gconf \
|
|
|
|
gnomemimedata gnomelibs
|
2001-10-01 08:37:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-06-01 22:08:36 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-01-24 16:09:56 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
|
2001-10-01 08:37:30 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
2002-01-24 16:09:56 +01:00
|
|
|
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
|
2000-06-29 21:28:06 +02:00
|
|
|
|
2002-07-11 19:16:10 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:34:38 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2002-07-11 19:16:10 +02:00
|
|
|
@find ${WRKSRC} -name 'xml-i18n-*' | xargs ${REINPLACE_CMD} -e \
|
2001-01-30 05:39:20 +01:00
|
|
|
's|/usr/local/bin/perl|${PERL}|g'
|
2002-07-11 19:16:10 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
|
2002-05-06 21:49:45 +02:00
|
|
|
${WRKSRC}/libgnomevfs/libcharset/Makefile.in
|
|
|
|
|
2000-06-29 21:28:06 +02:00
|
|
|
.include <bsd.port.mk>
|