34004f51e0
Don't call pkg_info to get the installed Emacs version; always use the version matching EMACS_TYPE set by users. Be DEPENDS to it. This should address pkg/37146 by Aleksey Cheusov. While here convert some emacs lisp packages to user-destdir.
25 lines
818 B
Makefile
25 lines
818 B
Makefile
# $NetBSD: Makefile,v 1.3 2008/10/11 09:31:58 uebayasi Exp $
|
|
#
|
|
|
|
.include "Makefile.common"
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
COMMENT= Romaji-Kana conversion library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= suikyo-conv-table>=${SUIKYO_VER}:../../textproc/suikyo-conv-table
|
|
DEPENDS+= suikyo-docs>=${SUIKYO_VER}:../../textproc/suikyo-docs
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}suikyo-elisp>=${SUIKYO_VER}:../../textproc/suikyo-elisp
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-suikyo>=${SUIKYO_VER}:../../textproc/ruby-suikyo
|
|
|
|
PKGCONFIG_OVERRIDE+= suikyo.pc.in
|
|
|
|
CONFIGURE_ARGS+= --with-emacs-sitelispdir=${EMACS_LISPPREFIX}
|
|
CONFIGURE_ARGS+= --with-rubydir=${PREFIX}/${RUBY_VENDORLIB}
|
|
|
|
INSTALL_TARGET= install-pkgconfigDATA
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|