Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.28 2017/04/10 11:46:33 sthen Exp $
  2. COMMENT= addressbook manager
  3. DISTNAME= rubrica2-2.0.7
  4. REVISION= 11
  5. EPOCH= 0
  6. CATEGORIES= productivity x11
  7. EXTRACT_SUFX= .tar.bz2
  8. SHARED_LIBS += ral 0.0 # .1.0
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
  12. WANTLIB += Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo dbus-1
  13. WANTLIB += dbus-glib-1 drm expat ffi fontconfig freetype gdk-x11-2.0
  14. WANTLIB += gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0 gmodule-2.0
  15. WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0 harfbuzz lzma m
  16. WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
  17. WANTLIB += png pthread pthread-stubs ${LIBCXX} xcb xcb-render xcb-shm xml2
  18. WANTLIB += z
  19. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rubrica.berlios/}
  20. MODULES= devel/gettext \
  21. textproc/intltool \
  22. devel/gconf2
  23. USE_GMAKE= Yes
  24. MODGCONF2_SCHEMAS_DIR= rubrica2
  25. CONFIGURE_STYLE=gnu
  26. CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
  27. CPPFLAGS="-I${LOCALBASE}/include"
  28. RUN_DEPENDS= devel/desktop-file-utils \
  29. misc/shared-mime-info
  30. LIB_DEPENDS= devel/libnotify>=0.7.2 \
  31. devel/libglade2
  32. pre-configure:
  33. ${SUBST_CMD} ${WRKSRC}/configure
  34. @find ${WRKSRC} -name Makefile.in -exec sed -i \
  35. -e 's,-Wall -g,-Wall,g;' \
  36. -e 's,-Wmissing-prototypes -g,-Wmissing-prototypes,g' {} \;
  37. post-install:
  38. ln -sf ${LOCALBASE}/share/icons/gnome \
  39. ${PREFIX}/share/pixmaps/rubrica2/22x22/hicolor
  40. .include <bsd.port.mk>