46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
# New ports collection makefile for: nautilus2
|
|
# Date created: 28th August 2000
|
|
# Whom: ade, archie
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nautilus2
|
|
PORTVERSION= 1.1.19
|
|
CATEGORIES= x11-fm gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-20020607
|
|
DIST_SUBDIR= gnome2
|
|
DISTNAME= nautilus-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
|
|
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
|
|
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= --localstatedir=${PREFIX}/share/gnome \
|
|
--datadir=${PREFIX}/share/gnome \
|
|
--with-freetype2-lib-place=${LOCALBASE}/lib \
|
|
--with-freetype2-include-place=${LOCALBASE}/include/freetype2
|
|
|
|
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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
|
|
s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g'
|
|
|
|
.include <bsd.port.mk>
|