summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inputmethod/ddskk/Makefile20
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"