Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.23 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT = tool for working with RAW images
  3. DISTNAME = rawstudio-1.2
  4. REVISION = 12
  5. CATEGORIES = graphics
  6. MAINTAINER = Stuart Henderson <sthen@openbsd.org>
  7. HOMEPAGE = http://rawstudio.org
  8. MASTER_SITES = ${HOMEPAGE}/files/release/
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. CONFIGURE_STYLE = gnu
  12. CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
  13. LDFLAGS=-L${LOCALBASE}/lib
  14. WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  15. WANTLIB += Xrandr Xrender atk-1.0 c cairo dbus-1 exiv2 expat fontconfig
  16. WANTLIB += freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
  17. WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
  18. WANTLIB += jpeg lcms m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
  19. WANTLIB += png pthread pthread-stubs ${LIBCXX} tiff xcb xcb-render
  20. WANTLIB += xcb-shm xml2 z
  21. MODULES = devel/gettext
  22. LIB_DEPENDS += x11/dbus \
  23. graphics/exiv2 \
  24. devel/gconf2 \
  25. x11/gtk+2 \
  26. graphics/lcms
  27. RUN_DEPENDS = devel/desktop-file-utils \
  28. x11/gtk-engines2
  29. NO_TEST = Yes
  30. # PIE doesn't leave sufficient registers
  31. .if ${MACHINE_ARCH:Mi386}
  32. CFLAGS += -fomit-frame-pointer
  33. .endif
  34. .include <bsd.port.mk>