Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # $OpenBSD: Makefile,v 1.21 2016/06/05 11:02:25 sthen Exp $
  2. COMMENT-main = japanese input method
  3. COMMENT-emacs = emacs files for anthy
  4. V = 9100h
  5. DISTNAME = anthy-$V
  6. PKGNAME-main = anthy-$V
  7. PKGNAME-emacs = emacs-anthy-$V
  8. REVISION-main = 2
  9. REVISION-emacs = 3
  10. SHARED_LIBS += anthydic 1.0 # .1.0
  11. SHARED_LIBS += anthy 1.0 # .1.0
  12. SHARED_LIBS += anthyinput 1.0 # .0.0
  13. CATEGORIES = inputmethods japanese
  14. HOMEPAGE = https://anthy.osdn.jp/
  15. # GPL, part LGPL
  16. PERMIT_PACKAGE_CDROM = Yes
  17. WANTLIB-main = c m
  18. MASTER_SITES = ${MASTER_SITE_OSDN_JP:=anthy/37536/}
  19. FAKE_FLAGS = sysconfdir=$(PREFIX)/share/examples/anthy
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ENV = CPPFLAGS='-I${LOCALBASE}/include' \
  22. LDFLAGS='-L${LOCALBASE}/lib' \
  23. SWIG=no
  24. PSEUDO_FLAVORS = no_emacs
  25. FLAVOR ?=
  26. MULTI_PACKAGES = -main -emacs
  27. .include <bsd.port.arch.mk>
  28. .if ${BUILD_PACKAGES:M-emacs}
  29. BUILD_DEPENDS = emacs->=24:editors/emacs
  30. .else
  31. CONFIGURE_ENV += EMACS=no
  32. .endif
  33. # can't make sense of any of these tests
  34. NO_TEST = Yes
  35. .include <bsd.port.mk>