Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.108 2016/03/18 23:12:17 naddy Exp $
  2. COMMENT= technical diagrams drawing tool
  3. GNOME_PROJECT= dia
  4. GNOME_VERSION= 0.97.3
  5. REVISION= 1
  6. CATEGORIES= graphics
  7. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
  11. WANTLIB += Xrender art_lgpl_2 atk-1.0 c cairo expat ffi fontconfig
  12. WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
  13. WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0
  14. WANTLIB += harfbuzz lzma m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
  15. WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
  16. WANTLIB += xml2 xslt z
  17. MODULES= devel/gettext \
  18. x11/gnome
  19. LIB_DEPENDS= x11/gtk+2 \
  20. graphics/libart \
  21. textproc/libxslt
  22. RUN_DEPENDS= devel/xdg-utils
  23. MODGNOME_TOOLS += desktop-file-utils docbook gtk-update-icon-cache
  24. CONFIGURE_STYLE= gnu
  25. CONFIGURE_ARGS= --without-hardbooks \
  26. --without-python \
  27. --without-swig \
  28. --disable-db2html \
  29. --disable-libemf \
  30. --disable-gnome
  31. post-install:
  32. mv ${PREFIX}/share/man/fr ${PREFIX}/man
  33. rmdir ${PREFIX}/share/man
  34. rm ${PREFIX}/lib/dia/*.{a,la}
  35. .include <bsd.port.mk>