From c83d05004dae1f60766b7a640209466e0f8a9626 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Tue, 1 Oct 2002 14:39:37 +0000 Subject: 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. . --- inputmethod/ddskk/Makefile | 20 +++++++++++++++++--- 1 file 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" -- cgit v1.2.3