diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2002-10-01 14:39:37 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2002-10-01 14:39:37 +0000 |
commit | b7003aea18abd719ad0f95c35c6306d3f2a8da66 (patch) | |
tree | 1bc779afe8a0af145cba719b11f82fa2c9ba94f2 | |
parent | 5022a1f6818b35cf958e08225ed2dbb52b34364b (diff) | |
download | pkgsrc-b7003aea18abd719ad0f95c35c6306d3f2a8da66.tar.gz |
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>.
-rw-r--r-- | inputmethod/ddskk/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/inputmethod/ddskk/Makefile b/inputmethod/ddskk/Makefile index f1c012b0165..ab2e1f59939 100644 --- a/inputmethod/ddskk/Makefile +++ b/inputmethod/ddskk/Makefile @@ -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 -PKGNAME= ddskk-20020915 +DISTNAME= ddskk20020929 +PKGNAME= ddskk-20020929 CATEGORIES= japanese inputmethod MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/ EXTRACT_SUFX= .tar.bz2 @@ -25,6 +25,20 @@ do-configure: -e 's|@EMACS_LISPPREFIX@|${EMACS_LISPPREFIX}|g' \ ${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/texinfo.mk" .include "../../mk/bsd.pkg.mk" |