1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

Modernize
This commit is contained in:
Baptiste Daroussin 2014-04-11 11:50:35 +00:00
parent 8a4520bd37
commit d047235c7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350927
2 changed files with 16 additions and 15 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= nautilus
PORTVERSION= 2.32.2.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= x11-fm gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@ -13,31 +13,28 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT?= File manager for the GNOME desktop
BUILD_DEPENDS= g-ir-compiler:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= exif:${PORTSDIR}/graphics/libexif \
unique-1.0:${PORTSDIR}/x11-toolkits/unique \
exempi:${PORTSDIR}/textproc/exempi
LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \
libexempi.so:${PORTSDIR}/textproc/exempi
CONFLICTS= nautilus-3.[0-9]*
INSTALLS_ICONS= yes
USE_BZIP2= yes
USES= gettext desktop-file-utils shared-mime-info gmake pkgconfig
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
librsvg2 ltverhack gvfs ltasneededhack
USES= gettext desktop-file-utils shared-mime-info gmake pkgconfig \
tar:bzip2 libtool pathfix
USE_GNOME= gnomeprefix intlhack gnomedesktop \
librsvg2 gvfs
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib ${ICONV_LIB}" \
LIBPNG="-L${LOCALBASE}/lib -lpng -lz"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-static --disable-packagekit
CONFIGURE_ARGS= --enable-static --disable-packagekit --disable-update-mimedb
MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
GCONF_SCHEMAS= apps_nautilus_preferences.schemas
MAN1= nautilus-connect-server.1 nautilus-file-management-properties.1 \
nautilus.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
${WRKSRC}/eel/eel-*.[ch] \
@ -47,6 +44,6 @@ post-patch:
${WRKSRC}/configure ${WRKSRC}/eel/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/lib/nautilus/extensions-2.0
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/nautilus/extensions-2.0
.include <bsd.port.mk>

View File

@ -18,8 +18,12 @@ lib/libnautilus-extension.a
lib/libnautilus-extension.la
lib/libnautilus-extension.so
lib/libnautilus-extension.so.1
lib/libnautilus-extension.so.1.2.0
libexec/nautilus-convert-metadata
libdata/pkgconfig/libnautilus-extension.pc
man/man1/nautilus-connect-server.1.gz
man/man1/nautilus-file-management-properties.1.gz
man/man1/nautilus.1.gz
share/applications/nautilus-autorun-software.desktop
share/applications/nautilus-browser.desktop
share/applications/nautilus-computer.desktop