Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.11 2016/05/29 21:41:45 bentley Exp $
  2. COMMENT= japanese handwriting recognition library
  3. DISTNAME= tomoe-0.6.0
  4. REVISION= 2
  5. HOMEPAGE= https://osdn.jp/projects/tomoe/
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tomoe/}
  7. CATEGORIES= inputmethods japanese
  8. SHARED_LIBS += tomoe 1.0 # 1.0
  9. # LGPLv2.1
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += ffi glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread
  12. MODULES= devel/gettext \
  13. textproc/intltool
  14. BUILD_DEPENDS= textproc/gsed
  15. LIB_DEPENDS= devel/glib2
  16. CONFIGURE_STYLE=gnu
  17. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  18. LDFLAGS="-L${LOCALBASE}/lib" \
  19. ac_cv_path_MYSQL_CONFIG="mysql_config-not-found" \
  20. ac_cv_path_UNZIP="unzip-not-found"
  21. CONFIGURE_ARGS= --without-python \
  22. --without-ruby \
  23. --with-svn-lib=/dev/null \
  24. --with-svn-include=/dev/null \
  25. --disable-unihan
  26. FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/
  27. post-install:
  28. rm ${PREFIX}/lib/tomoe/module/dict/*.{a,la}
  29. rm ${PREFIX}/lib/tomoe/module/recognizer/*.{a,la}
  30. .include <bsd.port.mk>