Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # $OpenBSD: Makefile,v 1.37 2017/04/13 07:10:01 jasper Exp $
  2. COMMENT= simple encrypted backup tool for GNOME
  3. GNOME_VERSION= 34.3
  4. GNOME_PROJECT= deja-dup
  5. REVISION= 0
  6. CATEGORIES= sysutils
  7. HOMEPAGE= https://launchpad.net/deja-dup
  8. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
  12. WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0
  13. WANTLIB += gtk-3 intl nautilus-extension notify pango-1.0 pangocairo-1.0
  14. WANTLIB += peas-1.0 pthread secret-1
  15. MASTER_SITES= https://launchpad.net/deja-dup/${GNOME_VERSION:C/^([0-9]+).*/\1/}/${GNOME_VERSION}/+download/
  16. MODULES= devel/cmake \
  17. devel/dconf \
  18. lang/python \
  19. x11/gnome
  20. MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache vala yelp
  21. RUN_DEPENDS= sysutils/duplicity
  22. LIB_DEPENDS= devel/libpeas \
  23. devel/libnotify \
  24. x11/gnome/nautilus
  25. CONFIGURE_ARGS= -DENABLE_UNITY:BOOL=OFF \
  26. -DENABLE_UNITY_CCPANEL:BOOL=OFF
  27. FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/deja-dup
  28. pre-configure:
  29. ${SUBST_CMD} ${WRKSRC}/libdeja/PythonChecker.vala
  30. post-install:
  31. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples
  32. mv ${PREFIX}/etc ${PREFIX}/share/examples/deja-dup
  33. .include <bsd.port.mk>