diff options
Diffstat (limited to 'chat')
-rw-r--r-- | chat/navi2ch/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/chat/navi2ch/Makefile b/chat/navi2ch/Makefile index e6244b91335..8de20a89327 100644 --- a/chat/navi2ch/Makefile +++ b/chat/navi2ch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/04/24 15:25:05 uebayasi Exp $ +# $NetBSD: Makefile,v 1.20 2007/10/29 04:37:51 uebayasi Exp $ DISTNAME= navi2ch-cvs_0.0.20070423-1 PKGNAME= ${EMACS_PKGNAME_PREFIX}navi2ch-1.7.5.99.20070423 @@ -16,15 +16,14 @@ USE_TOOLS+= gmake INFO_FILES= # PLIST EMACS_MODULES= base -.include "../../mk/emacs.mk" +# --with-emacs or --with-xemacs +CONFIGURE_ARGS+=--with-${EMACS_FLAVOR} +CONFIGURE_ARGS+=--with-icondir=${PREFIX}/share/navi2ch/icons +CONFIGURE_ARGS+=${CONFIGURE_ARGS.${EMACS_FLAVOR}} + +CONFIGURE_ARGS.emacs= --with-lispdir=${EMACS_LISPPREFIX}/navi2ch +CONFIGURE_ARGS.xemacs= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp$||} -.if ${EMACS_FLAVOR} == "emacs" -CONFIGURE_ARGS+= --with-emacs -CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX}/navi2ch -.elif ${EMACS_FLAVOR} == "xemacs" -CONFIGURE_ARGS+= --with-xemacs -CONFIGURE_ARGS+= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp$||} -.endif -CONFIGURE_ARGS+= --with-icondir=${PREFIX}/share/navi2ch/icons +.include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" |