Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.42 2016/08/27 15:37:54 ajacoutot Exp $
  2. COMMENT= digital camera frontend
  3. DISTNAME= gtkam-1.0
  4. CATEGORIES= graphics
  5. HOMEPAGE= http://gphoto.sourceforge.net/proj/gtkam/
  6. # GPLv2
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  9. WANTLIB += Xrandr Xrender atk-1.0 c cairo exif exif-gtk expat
  10. WANTLIB += ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
  11. WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gphoto2 gphoto2_port
  12. WANTLIB += graphite2 gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl
  13. WANTLIB += ltdl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
  14. WANTLIB += png pthread pthread-stubs xcb xcb-render xcb-shm z
  15. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
  16. RUN_DEPENDS= devel/desktop-file-utils
  17. LIB_DEPENDS= graphics/libexif-gtk \
  18. graphics/libgphoto2 \
  19. x11/gtk+2
  20. MODULES= textproc/intltool
  21. USE_GMAKE = Yes
  22. MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
  23. CONFIGURE_STYLE=gnu
  24. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  25. LDFLAGS="-L${LOCALBASE}/lib -pthread"
  26. # minimal: don't include any GNOME dependency
  27. CONFIGURE_ARGS= --with-gnome=no \
  28. --with-gimp=no \
  29. --with-bonobo=no \
  30. --disable-scrollkeeper
  31. .include <bsd.port.mk>