Advertisement
gusibsd

Untitled

Oct 17th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. diff --git a/ports/deskutils/alacarte3/Makefile b/ports/deskutils/alacarte3/Makefile
  2. index 55a6e58..22bcb14 100644
  3. --- a/ports/deskutils/alacarte3/Makefile
  4. +++ b/ports/deskutils/alacarte3/Makefile
  5. @@ -1,28 +1,29 @@
  6. # Created by: Joe Maloney jmaloney@pkgdemon.com>
  7. # $FreeBSD$
  8. -# $Pkgdemon: gnome3/ports/deskutils/alacarte3/Makefile 2013-10-14 pkgdemon $
  9. +# $MCom$
  10.  
  11. -PORTNAME= alacarte
  12. -PORTVERSION= 3.6.1
  13. -CATEGORIES= x11 gnome
  14. -MASTER_SITES= GNOME
  15. -DIST_SUBDIR= gnome3
  16. +PORTNAME= alacarte
  17. +PORTVERSION= 3.6.1
  18. +CATEGORIES= x11 gnome
  19. +MASTER_SITES= GNOME
  20. +DIST_SUBDIR= gnome3
  21.  
  22. -COMMENT= Freedesktop compliant menu editor for GNOME
  23. +MAINTAINER= gnome@freebsd.org
  24. +COMMENT= Freedesktop compliant menu editor for GNOME
  25.  
  26. -USE_XZ= yes
  27. -USE_GNOME= gnomemenus3 gnomeprefix intlhack pygobject3
  28. -USES= gettext gmake pkgconfig
  29. -USE_PYTHON= yes
  30. -INSTALLS_ICONS= yes
  31. -GNU_CONFIGURE= yes
  32. -CPPFLAGS+= -I${LOCALBASE}/include
  33. -LDFLAGS+= -L${LOCALBASE}/lib
  34. +USE_XZ= yes
  35. +USE_GNOME= gnomemenus3 gnomeprefix intlhack pygobject3
  36. +USES= gettext gmake pkgconfig
  37. +USE_PYTHON= yes
  38. +INSTALLS_ICONS= yes
  39. +GNU_CONFIGURE= yes
  40. +CPPFLAGS+= -I${LOCALBASE}/include
  41. +LDFLAGS+= -L${LOCALBASE}/lib
  42.  
  43. post-patch:
  44. @${REINPLACE_CMD} -e 's|from gi._glib import|from gi.repository.GLib import|g' \
  45. ${WRKSRC}/Alacarte/util.py
  46. @${REINPLACE_CMD} -e "s|ron\['XDG_MENU_PREFIX'\]|ron.get('XDG_MENU_PREFIX', '')|g" \
  47. ${WRKSRC}/Alacarte/MenuEditor.py
  48. -.include <bsd.port.mk>
  49.  
  50. +.include <bsd.port.mk>
  51. diff --git a/ports/deskutils/alacarte3/pkg-plist b/ports/deskutils/alacarte3/pkg-plist
  52. index 8011076..37419b9 100644
  53. --- a/ports/deskutils/alacarte3/pkg-plist
  54. +++ b/ports/deskutils/alacarte3/pkg-plist
  55. @@ -125,3 +125,11 @@ share/locale/zh_CN/LC_MESSAGES/alacarte.mo
  56. share/locale/zh_HK/LC_MESSAGES/alacarte.mo
  57. share/locale/zh_TW/LC_MESSAGES/alacarte.mo
  58. share/locale/zu/LC_MESSAGES/alacarte.mo
  59. +@dirrm share/locale/sw/LC_MESSAGES
  60. +@dirrm share/locale/sw
  61. +@dirrm share/locale/brx/LC_MESSAGES
  62. +@dirrm share/locale/brx
  63. +@dirrm share/locale/bem/LC_MESSAGES
  64. +@dirrm share/locale/bem
  65. +@dirrm %%PYTHON_LIBDIR%%/site-packages/Alacarte
  66. +@dirrm %%DATADIR%%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement