Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.33 2016/09/02 22:13:45 jasper Exp $
  2. COMMENT = medical image conversion
  3. DISTNAME = xmedcon-0.14.1
  4. SHARED_LIBS = mdc 2.3 # .2.1
  5. CATEGORIES = graphics
  6. HOMEPAGE = http://xmedcon.sourceforge.net
  7. # GPLv2 - LGPLv2.1
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes harfbuzz
  10. WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
  11. WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
  12. WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 ffi
  13. WANTLIB += png pthread-stubs xcb z gthread-2.0 pthread xcb-render
  14. WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 xcb-shm
  15. WANTLIB += graphite2 iconv intl
  16. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xmedcon/}
  17. LIB_DEPENDS = x11/gtk+2
  18. FAKE_FLAGS = sysconfdir=${TRUEPREFIX}/share/examples/xmedcon
  19. USE_GROFF = Yes
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ARGS += --enable-static \
  22. --sysconfdir="${SYSCONFDIR}"
  23. CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
  24. LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
  25. NO_TEST = Yes
  26. .include <bsd.port.mk>