pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/canna-lib Don't rely on GNU sed features.
details: https://anonhg.NetBSD.org/pkgsrc/rev/34d717e15f56
branches: trunk
changeset: 361378:34d717e15f56
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Apr 20 13:25:07 2017 +0000
description:
Don't rely on GNU sed features.
diffstat:
inputmethod/canna-lib/Makefile | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r c9acd2864d6e -r 34d717e15f56 inputmethod/canna-lib/Makefile
--- a/inputmethod/canna-lib/Makefile Thu Apr 20 12:56:47 2017 +0000
+++ b/inputmethod/canna-lib/Makefile Thu Apr 20 13:25:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/10/25 12:17:36 tsutsui Exp $
+# $NetBSD: Makefile,v 1.17 2017/04/20 13:25:07 jperkin Exp $
PKGREVISION= 1
CANNA_MODULE= lib
@@ -13,11 +13,6 @@
@${SED} -e 's|\(SUBDIRS = lib canna\).*\( misc\)|\1 cmd/forcpp cmd/kpdic dic/phono\2|' \
-e 's|\(SGSDIR = \).*|\1 lib canna dic/phono misc doc|' \
${WRKSRC}/Imakefile.orig > ${WRKSRC}/Imakefile
-.for f in forcpp kpdic
- @${MV} ${WRKSRC}/cmd/${f}/Imakefile ${WRKSRC}/cmd/${f}/Imakefile.orig
- @${SED} -e '/^#define TargetName/a\${.newline}#define DontInstallProgram' ${WRKSRC}/cmd/${f}/Imakefile.orig \
- > ${WRKSRC}/cmd/${f}/Imakefile
-.endfor
MAKE_ENV+= AWK=${AWK:Q}
@@ -27,4 +22,7 @@
post-configure:
@${LN} -s ${WRKSRC}/server/*.h ${WRKSRC}/include
+post-install:
+ ${RM} ${DESTDIR}${PREFIX}/bin/forcpp ${DESTDIR}${PREFIX}/bin/kpdic
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index