blob: a6c2eb09f5e703803523009908e2d277391024ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
# $MCom$
PORTNAME= nemo-extensions
PORTVERSION= 2.0.1
CATEGORIES= x11-fm gnome
DIST_SUBDIR= gnome3
MAINTAINER= gustau.perez@gmail.com
COMMENT= File manager extensions for the Cinnamon desktop
BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
gtkdocize:${PORTSDIR}/textproc/gtk-doc \
rst2html:${PORTSDIR}/textproc/py-docutils \
automake>=0:${PORTSDIR}/devel/automake \
autoconf>=0:${PORTSDIR}/devel/autoconf \
libtool:${PORTSDIR}/devel/libtool \
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 \
libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop \
libnemo-extension.so:${PORTSDIR}/x11-fm/nemo \
libnotify.so:${PORTSDIR}/devel/libnotify \
libexempi.so:${PORTSDIR}/textproc/exempi \
libcjs.so:${PORTSDIR}/lang/cjs \
libclutter-1.0.so:${PORTSDIR}/graphics/clutter \
libevdocument3.so:${PORTSDIR}/graphics/evince \
libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 \
libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst \
libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \
libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
GH_PROJECT= nemo-extensions
GH_COMMIT= 54f4d94
GH_TAGNAME= ${GH_COMMIT}
INSTALLS_ICONS= yes
USES= gettext gmake pathfix pkgconfig shebangfix
SHEBANG_FILES= nemo-dropbox/dropbox.in
USE_GNOME= gconf2 gnomeprefix gnomedocutils gtksourceview3 intlhack \
introspection:build libxml2 pygtk2
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NON_AUTO_EXTENSIONS= nemo-dropbox nemo-fileroller nemo-preview
AUTO_EXTENSIONS= nemo-share
post-patch:
@${REINPLACE_CMD} -e 's|AM_GNU_GETTEXT_VERSION(\[0.17\])||g ;\
s|AM_GNU_GETTEXT(\[external\])||g' \
${WRKSRC}/nemo-preview/configure.ac
do-configure:
.for i in ${NON_AUTO_EXTENSIONS}
cd ${WRKSRC}/${i} && NOCONFIGURE=yes ${SH} autogen.sh && ./configure --prefix=${PREFIX} \
--with-nemo-extension-dir=${PREFIX}/lib/nemo/extensions-3.0 \
--mandir=${PREFIX}/man
.endfor
.for i in ${AUTO_EXTENSIONS}
cd ${WRKSRC}/${i} && ./configure --prefix=${PREFIX} \
--with-nemo-extension-dir=${PREFIX}/lib/nemo/extensions-3.0 \
--mandir=${PREFIX}/man
.endfor
do-build:
.for i in ${NON_AUTO_EXTENSIONS} ${AUTO_EXTENSIONS}
cd ${WRKSRC}/${i} && ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
.endfor
do-install:
.for i in ${NON_AUTO_EXTENSIONS} ${AUTO_EXTENSIONS}
cd ${WRKSRC}/${i} && ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
.include <bsd.port.mk>
|