Update to 20020929. No changes can be seen.
Improve PLIST handling so that conditinally installed files are listed correctly in PLIST. This problem is reported by Minoura-san. <makoto at hauN dot org>.
This commit is contained in:
parent
5022a1f681
commit
b7003aea18
1 changed files with 17 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
# $NetBSD: Makefile,v 1.1.1.1 2002/09/16 13:20:43 uebayasi Exp $
|
# $NetBSD: Makefile,v 1.2 2002/10/01 14:39:37 uebayasi Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= ddskk20020915
|
DISTNAME= ddskk20020929
|
||||||
PKGNAME= ddskk-20020915
|
PKGNAME= ddskk-20020929
|
||||||
CATEGORIES= japanese inputmethod
|
CATEGORIES= japanese inputmethod
|
||||||
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/
|
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/
|
||||||
EXTRACT_SUFX= .tar.bz2
|
EXTRACT_SUFX= .tar.bz2
|
||||||
|
@ -25,6 +25,20 @@ do-configure:
|
||||||
-e 's|@EMACS_LISPPREFIX@|${EMACS_LISPPREFIX}|g' \
|
-e 's|@EMACS_LISPPREFIX@|${EMACS_LISPPREFIX}|g' \
|
||||||
${FILESDIR}/SKK-CFG >${WRKSRC}/SKK-CFG
|
${FILESDIR}/SKK-CFG >${WRKSRC}/SKK-CFG
|
||||||
|
|
||||||
|
# Create PLIST, since some files are installed conditionally and what
|
||||||
|
# file will be installed is hard to expect before configure / build.
|
||||||
|
# The idea here is that files compiled as *.elc will be installed.
|
||||||
|
post-build:
|
||||||
|
@{ \
|
||||||
|
cat ${PKGDIR}/PLIST.header; \
|
||||||
|
cd ${WRKSRC}; \
|
||||||
|
for e in *.elc; do \
|
||||||
|
${ECHO} '$${EMACS_LISPPREFIX}/skk/'$${e%.elc}.el; \
|
||||||
|
${ECHO} '$${EMACS_LISPPREFIX}/skk/'$$e; \
|
||||||
|
done; \
|
||||||
|
${CAT} ${PKGDIR}/PLIST.footer; \
|
||||||
|
} >${PKGDIR}/PLIST
|
||||||
|
|
||||||
.include "../../mk/emacs.mk"
|
.include "../../mk/emacs.mk"
|
||||||
.include "../../mk/texinfo.mk"
|
.include "../../mk/texinfo.mk"
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
Loading…
Reference in a new issue