diff options
Diffstat (limited to 'x11-fm/nemo/Makefile')
-rw-r--r-- | x11-fm/nemo/Makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/x11-fm/nemo/Makefile b/x11-fm/nemo/Makefile index 91252686f..17a243ddb 100644 --- a/x11-fm/nemo/Makefile +++ b/x11-fm/nemo/Makefile @@ -3,7 +3,7 @@ # $MCom$ PORTNAME= nemo -PORTVERSION= 2.0.8 +PORTVERSION= 2.2.0 CATEGORIES= x11-fm gnome MASTER_SITES= http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/ DIST_SUBDIR= gnome3 @@ -13,6 +13,7 @@ COMMENT= File manager for the Cinnamon desktop BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \ gtkdocize:${PORTSDIR}/textproc/gtk-doc \ + py*-polib>=0:${PORTSDIR}/devel/py-polib \ gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \ ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \ @@ -24,11 +25,12 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-i USES= desktop-file-utils gettext gmake pathfix \ pkgconfig shared-mime-info -USE_GNOME= gnomeprefix intlhack gnomedesktop3 libxml2 \ - introspection:build +USE_GNOME= gnomedesktop3 gnomeprefix intlhack introspection:build \ + libxml2 pygobject3 INSTALLS_ICONS= yes -USE_LDCONFIG= yes +USE_PYTHON= 2 USE_AUTOTOOLS= libtool autoconf automake +USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ARGS= --enable-static --disable-packagekit @@ -71,8 +73,17 @@ post-patch: ${WRKSRC}/data/nemo.xml.in \ ${WRKSRC}/libnemo-private/nemo-file-utilities.h +# @${REINPLACE_CMD} '/merge_action/d' \ +# ${WRKSRC}/files/Makefile.in + @${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \ - ${XARGS} ${REINPLACE_CMD} -I "" -e "s|#!.*python.*|#!/usr/bin/env python|g" + ${XARGS} ${REINPLACE_CMD} -I "" -e "s|#!.*python.*|#!${PYTHON_CMD}|g" + + @${REINPLACE_CMD} 's|\"/usr|\"${PREFIX}|g' \ + ${WRKSRC}/data/merge_action_strings + + @${REINPLACE_CMD} 's|"files", "usr"|"files", "${PREFIX}".strip("/")|g' \ + ${WRKSRC}/data/merge_action_strings pre-configure: cd ${WRKSRC} && NOCONFIGURE=yes ${SH} ./autogen.sh |