Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $OpenBSD: Makefile,v 1.39 2016/03/20 16:12:25 naddy Exp $
  2. COMMENT= vector font editor/converter
  3. DISTNAME= fontforge_full-20120731-b
  4. PKGNAME= ${DISTNAME:S,_full,,:S,-b,,}
  5. EXTRACT_SUFX= .tar.bz2
  6. SHARED_LIBS= fontforge 4.0 \
  7. gdraw 5.1 \
  8. gioftp 2.1 \
  9. gunicode 5.1 \
  10. gutils 2.1
  11. REVISION= 0
  12. CATEGORIES= print
  13. HOMEPAGE= http://fontforge.org/
  14. MAINTAINER= Matthias Kilian <kili@openbsd.org>
  15. # BSD
  16. PERMIT_PACKAGE_CDROM= Yes
  17. WANTLIB += ${MODPY_WANTLIB}
  18. WANTLIB += ICE SM X11 Xext Xft Xi Xrender c cairo expat ffi fontconfig
  19. WANTLIB += freetype gif glib-2.0 gmodule-2.0 gobject-2.0 graphite2
  20. WANTLIB += gthread-2.0 harfbuzz jpeg lzma m pango-1.0 pangocairo-1.0
  21. WANTLIB += pangoft2-1.0 pangoxft-1.0 pcre pixman-1 png pthread
  22. WANTLIB += pthread-stubs tiff util xcb xcb-render xcb-shm xkbfile xkbui
  23. WANTLIB += xml2 z
  24. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fontforge/}
  25. MODULES= devel/gettext lang/python
  26. LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
  27. graphics/cairo \
  28. graphics/jpeg \
  29. devel/pango \
  30. graphics/png \
  31. graphics/tiff \
  32. graphics/giflib \
  33. textproc/libxml
  34. WRKDIST= ${WRKDIR}/${DISTNAME:S,_full,,}
  35. CONFIGURE_STYLE= gnu
  36. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  37. LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib \
  38. -lintl -liconv -lz"
  39. CONFIGURE_ARGS= --without-freetype-src \
  40. --with-python=${MODPY_BIN} \
  41. --with-python-lib="$$(python${MODPY_VERSION}-config --libs)" \
  42. --with-regular-link
  43. USE_GMAKE= Yes
  44. NO_TEST= Yes
  45. .include <bsd.port.mk>