Advertisement
gusibsd

Untitled

Jan 21st, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. Index: deskutils/nemo-extensions/Makefile
  2. ===================================================================
  3. --- deskutils/nemo-extensions/Makefile (revision 0)
  4. +++ deskutils/nemo-extensions/Makefile (working copy)
  5. @@ -0,0 +1,83 @@
  6. +# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
  7. +# $FreeBSD$
  8. +
  9. +PORTNAME= nemo-extensions
  10. +PORTVERSION= 2.0.1
  11. +CATEGORIES= x11-fm gnome
  12. +DIST_SUBDIR= gnome3
  13. +
  14. +MAINTAINER= gustau.perez@gmail.com
  15. +COMMENT= File manager extensions for the Cinnamon desktop
  16. +
  17. +BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
  18. + gtkdocize:${PORTSDIR}/textproc/gtk-doc \
  19. + rst2html:${PORTSDIR}/textproc/py-docutils \
  20. + automake>=0:${PORTSDIR}/devel/automake \
  21. + autoconf>=0:${PORTSDIR}/devel/autoconf \
  22. + libtool:${PORTSDIR}/devel/libtool \
  23. + gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
  24. + gnome-keyring-3:${PORTSDIR}/security/gnome-keyring \
  25. + ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
  26. +LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \
  27. + libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop \
  28. + libnemo-extension.so:${PORTSDIR}/x11-fm/nemo \
  29. + libnotify.so:${PORTSDIR}/devel/libnotify \
  30. + libexempi.so:${PORTSDIR}/textproc/exempi \
  31. + libcjs.so:${PORTSDIR}/lang/cjs \
  32. + libclutter-1.0.so:${PORTSDIR}/graphics/clutter \
  33. + libevdocument3.so:${PORTSDIR}/graphics/evince \
  34. + libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 \
  35. + libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst \
  36. + libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \
  37. + libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
  38. +RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
  39. + gnome-keyring-3:${PORTSDIR}/security/gnome-keyring \
  40. + ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
  41. +
  42. +USE_GITHUB= yes
  43. +GH_ACCOUNT= linuxmint
  44. +GH_PROJECT= nemo-extensions
  45. +GH_COMMIT= 54f4d94
  46. +GH_TAGNAME= ${GH_COMMIT}
  47. +
  48. +INSTALLS_ICONS= yes
  49. +USES= gettext gmake pathfix pkgconfig shebangfix
  50. +SHEBANG_FILES= nemo-dropbox/dropbox.in
  51. +USE_GNOME= gconf2 gnomeprefix gnomedocutils gtksourceview3 intlhack \
  52. + introspection:build libxml2 pygtk2
  53. +USE_LDCONFIG= yes
  54. +CPPFLAGS+= -I${LOCALBASE}/include
  55. +LDFLAGS+= -L${LOCALBASE}/lib
  56. +
  57. +NON_AUTO_EXTENSIONS= nemo-dropbox nemo-fileroller nemo-preview
  58. +AUTO_EXTENSIONS= nemo-share
  59. +
  60. +post-patch:
  61. + @${REINPLACE_CMD} -e 's|AM_GNU_GETTEXT_VERSION(\[0.17\])||g ;\
  62. + s|AM_GNU_GETTEXT(\[external\])||g' \
  63. + ${WRKSRC}/nemo-preview/configure.ac
  64. +
  65. +do-configure:
  66. +.for i in ${NON_AUTO_EXTENSIONS}
  67. + cd ${WRKSRC}/${i} && NOCONFIGURE=yes ${SH} autogen.sh && ./configure --prefix=${PREFIX} \
  68. + --with-nemo-extension-dir=${PREFIX}/lib/nemo/extensions-3.0 \
  69. + --mandir=${PREFIX}/man
  70. +.endfor
  71. +
  72. +.for i in ${AUTO_EXTENSIONS}
  73. + cd ${WRKSRC}/${i} && ./configure --prefix=${PREFIX} \
  74. + --with-nemo-extension-dir=${PREFIX}/lib/nemo/extensions-3.0 \
  75. + --mandir=${PREFIX}/man
  76. +.endfor
  77. +
  78. +do-build:
  79. +.for i in ${NON_AUTO_EXTENSIONS} ${AUTO_EXTENSIONS}
  80. + cd ${WRKSRC}/${i} && ${GMAKE}
  81. +.endfor
  82. +
  83. +do-install:
  84. +.for i in ${NON_AUTO_EXTENSIONS} ${AUTO_EXTENSIONS}
  85. + cd ${WRKSRC}/${i} && ${GMAKE} install
  86. +.endfor
  87. +
  88. +.include <bsd.port.mk>
  89. Index: deskutils/nemo-extensions/pkg-descr
  90. ===================================================================
  91. --- deskutils/nemo-extensions/pkg-descr (revision 0)
  92. +++ deskutils/nemo-extensions/pkg-descr (working copy)
  93. @@ -0,0 +1,3 @@
  94. +Nemo extensions for the cinnamon file manager
  95. +
  96. +WWW: https://github.com/linuxmint/nemo-extensions
  97. Index: deskutils/nemo-extensions/pkg-plist
  98. ===================================================================
  99. --- deskutils/nemo-extensions/pkg-plist (revision 0)
  100. +++ deskutils/nemo-extensions/pkg-plist (working copy)
  101. @@ -0,0 +1,32 @@
  102. +bin/dropbox
  103. +lib/nemo/extensions-3.0/libnemo-dropbox.a
  104. +lib/nemo/extensions-3.0/libnemo-dropbox.la
  105. +lib/nemo/extensions-3.0/libnemo-dropbox.so
  106. +lib/nemo/extensions-3.0/libnemo-fileroller.a
  107. +lib/nemo/extensions-3.0/libnemo-fileroller.la
  108. +lib/nemo/extensions-3.0/libnemo-fileroller.so
  109. +lib/nemo/extensions-3.0/libnemo-share.a
  110. +lib/nemo/extensions-3.0/libnemo-share.la
  111. +lib/nemo/extensions-3.0/libnemo-share.so
  112. +man/man1/dropbox.1.gz
  113. +share/applications/dropbox.desktop
  114. +share/icons/hicolor/16x16/apps/dropbox.png
  115. +share/icons/hicolor/22x22/apps/dropbox.png
  116. +share/icons/hicolor/24x24/apps/dropbox.png
  117. +share/icons/hicolor/256x256/apps/dropbox.png
  118. +share/icons/hicolor/32x32/apps/dropbox.png
  119. +share/icons/hicolor/48x48/apps/dropbox.png
  120. +share/icons/hicolor/64x64/apps/dropbox.png
  121. +share/nemo-dropbox/emblems/emblem-dropbox-syncing.icon
  122. +share/nemo-dropbox/emblems/emblem-dropbox-syncing.png
  123. +share/nemo-dropbox/emblems/emblem-dropbox-unsyncable.icon
  124. +share/nemo-dropbox/emblems/emblem-dropbox-unsyncable.png
  125. +share/nemo-dropbox/emblems/emblem-dropbox-uptodate.icon
  126. +share/nemo-dropbox/emblems/emblem-dropbox-uptodate.png
  127. +share/nemo-share/interfaces/share-dialog.ui
  128. +@dirrm share/nemo-share/interfaces
  129. +@dirrm share/nemo-dropbox/emblems
  130. +@dirrm share/nemo-dropbox
  131. +@dirrm share/nemo-share
  132. +@dirrm lib/nemo/extensions-3.0
  133. +@dirrm lib/nemo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement