aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/nautilus2/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-20 18:03:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-20 18:03:39 +0000
commitcb6e6af1a37bc7c006c8130356c0964b38a9d171 (patch)
tree50c90eb731160bcadf2771b59f8be72fa60b4d1d /x11-fm/nautilus2/Makefile
parent482ce696dbe813869cf767bcdf2d4d16c05bc474 (diff)
downloadports-cb6e6af1a37bc7c006c8130356c0964b38a9d171.tar.gz
ports-cb6e6af1a37bc7c006c8130356c0964b38a9d171.zip
Notes
Diffstat (limited to 'x11-fm/nautilus2/Makefile')
-rw-r--r--x11-fm/nautilus2/Makefile66
1 files changed, 16 insertions, 50 deletions
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index 75d4cfb3df4f..820774037a98 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -1,79 +1,45 @@
-# New ports collection makefile for: nautilus
+# New ports collection makefile for: nautilus2
# Date created: 28th August 2000
# Whom: ade, archie
#
# $FreeBSD$
#
-PORTNAME= nautilus
-PORTVERSION= 1.0.6
-PORTREVISION= 5
+PORTNAME= nautilus2
+PORTVERSION= 1.1.16
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= stable/sources/nautilus
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta5
+DIST_SUBDIR= gnome2
+DISTNAME= nautilus-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
-LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
- freetype.9:${PORTSDIR}/print/freetype2 \
- eel.0:${PORTSDIR}/x11-toolkits/eel
-RUN_DEPENDS= ${X11BASE}/share/gnome/ui/nautilus-galeon-view-ui.xml:${PORTSDIR}/www/galeon
-
-WITHOUT_MOZILLA= "Doesn't work with Mozilla-0.9.9"
-
-.if !defined(WITHOUT_MOZILLA)
-.if !defined(WITH_FULL_MOZILLA)
-MOZILLA= mozilla-embedded
-.else
-MOZILLA= mozilla
-.endif
-BUILD_DEPENDS+= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
- ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
-.endif
+LIB_DEPENDS= rsvg-2.2:${PORTSDIR}/graphics/librsvg2 \
+ eel-2.2:${PORTSDIR}/x11-toolkits/eel2 \
+ gnome-desktop-2.0:${PORTSDIR}/x11/gnomedesktop
+USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
-USE_GNOME= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -fno-rtti -fno-exceptions" \
LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -liconv" \
LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}"
-CONFIGURE_ARGS= --with-freetype2-lib-place=${LOCALBASE}/lib \
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --with-freetype2-lib-place=${LOCALBASE}/lib \
--with-freetype2-include-place=${LOCALBASE}/include/freetype2
-.if !defined(WITHOUT_MOZILLA)
-CONFIGURE_ARGS+= --with-mozilla-lib-place=${X11BASE}/lib/${MOZILLA} \
- --with-mozilla-include-place=${X11BASE}/include/mozilla
-MOZILLA_LIBS= "-L${X11BASE}/lib/${MOZILLA}"
-PLIST_SUB+= MOZILLA:=""
-.else
-CONFIGURE_ARGS+= --disable-mozilla-component
-MOZILLA_LIBS= ""
-PLIST_SUB+= MOZILLA:="@comment "
-.endif
-
-MAN1= nautilus-xml-migrate.1
-
-.if !defined(WITHOUT_MOZILLA)
-pre-extract:
-.if !defined(WITH_FULL_MOZILLA)
- @${ECHO_MSG}
- @${ECHO_MSG} " By default the port uses mozilla-embedded for html rendering, but if you are"
- @${ECHO_MSG} " planning to use both Mozilla and Nautilus you can instruct it to use mozilla by"
- @${ECHO_MSG} " defining \"WITH_FULL_MOZILLA\"."
- @${ECHO_MSG}
-.endif
- @${ECHO_MSG} "You can remove embedded mozilla support by defining WITHOUT_MOZILLA."
-.endif
-
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
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'
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
+ s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
+ s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g'
.include <bsd.port.mk>