[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new package misc/howm
いしはら です。
UNIX USERで取り上げられていたので、FreeBSDのportから、パッ
ケージソースをつくってみました。しかし、elispのパッケージは(も)
いまいちよくわかりません。
byte-compleすべきなんでしょうけど、emacs20ではできないみたい
です。emacs21ではできるようなのですが、そこらへんもなにもしてい
ません。(どうやって書いていいかわからない。)
アドバイスなどいただけるとうれしいです。
よろしくおねがいします。
--
いしはら
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./Makefile
# ./MESSAGE
# ./PLIST
# ./distinfo
# ./DESCR
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/deskutils/howm/Makefile,v 1.2 2004/01/01 08:53:20 kuriyama Exp
X
XDISTNAME= howm-1.1.0.3
XCATEGORIES= deskutils
XMASTER_SITES= http://www.me.ics.saitama-u.ac.jp/~hira/emacs/howm/
X
XMAINTAINER= tech-pkg@NetBSD.org
XHOMEPAGE= http://www.me.ics.saitama-u.ac.jp/~hira/emacs/howm/index.html
XCOMMENT= Write fragmentarily and read collectively
X
XELISP= action-lock.el \
X howm-font-lock.el howm-menu.el howm-mode.el howm-view.el
XEXAMPLESDIR= ${PREFIX}/share/examples/howm
XDOCSDIR= ${PREFIX}/share/howm
X
XNO_CONFIGURE= yes
XNO_BUILD = yes
X
X.include "../../mk/emacs.mk"
X
X#do-build:
X#.if ${EMACS_VERSION} == "emacs21"
X#.for i in ${ELISP}
X# ${EMACS_BIN} -q -batch -L . -f batch-byte-compile ${WRKSRC}/${i}
X#.endfor
X#.endif
X
Xdo-install:
X ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/howm
X ${INSTALL_DATA} ${WRKSRC}/*.el ${EMACS_LISPPREFIX}/howm
X#.if ${EMACS_VERSION} == "emacs21"
X# ${INSTALL_DATA} ${WRKSRC}/*.elc ${EMACS_LISPPREFIX}/howm
X#.endif
X
X ${INSTALL_DATA_DIR} ${EXAMPLESDIR}/ja ${EXAMPLESDIR}/en
X ${INSTALL_DATA} ${WRKSRC}/ja/* ${EXAMPLESDIR}/ja
X ${INSTALL_DATA} ${WRKSRC}/en/* ${EXAMPLESDIR}/en
X
X ${INSTALL_DATA_DIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.png ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.rd ${DOCSDIR}
X.for f in howm2 tag2plan hcal.rb
X ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./MESSAGE
sed 's/^X//' >./MESSAGE << 'END-of-./MESSAGE'
X===========================================================================
X$NetBSD$
X
XTo use this pkg:
X
X % mkdir ~/howm
X % cp ${PREFIX}/share/examples/howm/en/* ~/howm/
X
XAnd write below to your ~/.emacs:
X
X ;(setq howm-menu-lang 'ja)
X (global-set-key "\C-c,," 'howm-menu)
X (autoload 'howm-menu "howm-mode" "Hitori Otegaru Wiki Modoki" t)
X
X===========================================================================
END-of-./MESSAGE
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xshare/howm/CL-HOWM.ja.rd
Xshare/howm/OLD.rd
Xshare/howm/README-j.html
Xshare/howm/README.ja.rd
Xshare/howm/README.rd
Xshare/howm/TUTORIAL.ja.rd
Xshare/howm/hcal.rb
Xshare/howm/howm2
Xshare/howm/index-j.html
Xshare/howm/index.html
Xshare/howm/s-cat.png
Xshare/howm/s-menu.png
Xshare/howm/s-screen-shot.png
Xshare/howm/s-search.png
Xshare/howm/tag2plan
Xshare/emacs/site-lisp/howm/action-lock.el
Xshare/emacs/site-lisp/howm/howm-font-lock.el
Xshare/emacs/site-lisp/howm/howm-menu.el
Xshare/emacs/site-lisp/howm/howm-mode.el
Xshare/emacs/site-lisp/howm/howm-view.el
Xshare/examples/howm/en/0000-00-00-000000.howm
Xshare/examples/howm/ja/0000-00-00-000000.howm
X@dirrm share/examples/howm/ja
X@dirrm share/examples/howm/en
X@dirrm share/examples/howm
X@dirrm ${EMACS_LISPPREFIX}/howm
X@dirrm share/howm
END-of-./PLIST
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XMD5 (howm-1.1.0.3.tar.gz) = edcf2ccf21c1a68c4a1fc18fb8222ba3
END-of-./distinfo
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
Xhowm: Write fragmentarily and read collectively.
X
XHowm is a note-taking tool on Emacs. It is similar to emacs-wiki;
Xyou can enjoy hyperlinks and full-text search easily. It is not
Xsimilar to emacs-wiki; it can be combined with any format.
X
XWWW: http://www.me.ics.saitama-u.ac.jp/~hira/emacs/howm/index.html
END-of-./DESCR
exit