pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod Use the pkginstall framework to generate t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c0ad30a61547
branches: trunk
changeset: 509457:c0ad30a61547
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Mar 10 19:24:13 2006 +0000
description:
Use the pkginstall framework to generate the INSTALL script instead.
diffstat:
inputmethod/sj3-dict/INSTALL | 2 +-
inputmethod/sj3-dict/Makefile | 11 ++---------
inputmethod/skkinput/Makefile | 11 ++---------
3 files changed, 5 insertions(+), 19 deletions(-)
diffs (74 lines):
diff -r e3bda6e28402 -r c0ad30a61547 inputmethod/sj3-dict/INSTALL
--- a/inputmethod/sj3-dict/INSTALL Fri Mar 10 16:03:44 2006 +0000
+++ b/inputmethod/sj3-dict/INSTALL Fri Mar 10 19:24:13 2006 +0000
@@ -5,6 +5,6 @@
dic="${PKG_PREFIX}/sj3/user"
mkdir -p $dic
chmod 755 $dic
- chown ${SJ3OWNER}.${SJ3GROUP} $dic
+ chown @SJ3OWNER@:@SJ3GROUP@ $dic
;;
esac
diff -r e3bda6e28402 -r c0ad30a61547 inputmethod/sj3-dict/Makefile
--- a/inputmethod/sj3-dict/Makefile Fri Mar 10 16:03:44 2006 +0000
+++ b/inputmethod/sj3-dict/Makefile Fri Mar 10 19:24:13 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/05 20:50:23 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2006/03/10 19:24:13 jlam Exp $
#
DISTNAME= sj3-2.0.1.20
@@ -27,9 +27,8 @@
SJ3GROUP?= daemon
MAKE_ENV+= SJ3OWNER=${SJ3OWNER:Q} SJ3GROUP=${SJ3GROUP:Q} \
IMDICTDIR=${IMDICTDIR:Q} LOCAL_LDFLAGS=${LDFLAGS:M*:Q}
-
+FILES_SUBST+= SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} IMDICTDIR=${IMDICTDIR}
INSTALL_SRC= ${PKGDIR}/INSTALL
-INSTALL_FILE= ${WRKDIR}/INSTALL
EVAL_PREFIX+= SJ3SERVERBINDIR=sj3-server-bin
@@ -47,12 +46,6 @@
do-build:
@(cd ${WRKSRC}/dict/dict; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM})
-post-build:
- @${SED} -e 's|$${SJ3OWNER}|${SJ3OWNER}|' \
- -e 's|$${SJ3GROUP}|${SJ3GROUP}|' \
- -e 's|$${IMDICTDIR}|${IMDICTDIR}|' \
- ${INSTALL_SRC} > ${INSTALL_FILE}
-
do-install:
@(cd ${WRKSRC}/dict/dict; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install)
diff -r e3bda6e28402 -r c0ad30a61547 inputmethod/skkinput/Makefile
--- a/inputmethod/skkinput/Makefile Fri Mar 10 16:03:44 2006 +0000
+++ b/inputmethod/skkinput/Makefile Fri Mar 10 19:24:13 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/05 23:09:43 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2006/03/10 19:30:35 jlam Exp $
DISTNAME= skkinput-2.06.3
PKGREVISION= 1
@@ -14,19 +14,12 @@
USE_IMAKE= YES
PLIST_SUBST+= PKGBASE=${LOCALBASE:Q}
-
-DESCR_SRC= ${WRKDIR}/DESCR
-INSTALL_FILE= ${WRKDIR}/INSTALL
-
-post-build:
- ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/DESCR >${DESCR_SRC}
- ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/INSTALL >${INSTALL_FILE}
+INSTALL_SRC= ${PKGDIR}/INSTALL
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/README.jis ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/FAQ.jis ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/BUGS.jis ${PREFIX}/share/doc/skkinput
- ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index