diff options
author | rxg <rxg@pkgsrc.org> | 2006-01-28 03:03:11 +0000 |
---|---|---|
committer | rxg <rxg@pkgsrc.org> | 2006-01-28 03:03:11 +0000 |
commit | 73a0f23706098816f6723a36c8544d202447bee2 (patch) | |
tree | 70503bc90ec4f60590933602e015849e4411fefe /inputmethod/xcin/Makefile | |
parent | 88967cb9169aa91b3d306a4c60ae72e4640b335a (diff) | |
download | pkgsrc-73a0f23706098816f6723a36c8544d202447bee2.tar.gz |
Added chewing module support.
Taken the patches form -
http://chewing.csie.net/download/xcin/xcin-chewing-20041004.diff
Used PKG_SYSCONFDIR schema.
Used ${PAX} to do post-install.
Bump PKGREVISION.
Diffstat (limited to 'inputmethod/xcin/Makefile')
-rw-r--r-- | inputmethod/xcin/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/inputmethod/xcin/Makefile b/inputmethod/xcin/Makefile index b358d3dabbb..8785b1d1cec 100644 --- a/inputmethod/xcin/Makefile +++ b/inputmethod/xcin/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2005/07/16 19:10:39 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2006/01/28 03:03:11 rxg Exp $ # DISTNAME= xcin-2.5.3.pre2 PKGNAME= xcin-2.5.3rc2 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= chinese x11 MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/ @@ -18,21 +18,27 @@ USE_LIBTOOL= yes USE_TOOLS+= perl:run GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS+= --with-db-lib=${BUILDLINK_PREFIX.db3}/lib CONFIGURE_ARGS+= --with-db-inc=${BUILDLINK_PREFIX.db3}/include/db3 -post-extract: - ${MV} ${WRKSRC}/doc/man ${WRKSRC} +.include "../../mk/bsd.prefs.mk" + +INSTALLATION_DIRS= share/doc/xcin + +EGDIR= ${PREFIX}/share/examples/xcin +CONF_FILES= ${EGDIR}/xcinrc ${PKG_SYSCONFDIR}/xcinrc post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcin - cd ${WRKSRC}/doc && ${PAX} -rw * ${PREFIX}/share/doc/xcin + cd ${WRKSRC}/doc && ${PAX} -rw \ + -s ',^\./man$$,,' -s ',^\./man/.*,,' \ + . ${PREFIX}/share/doc/xcin .include "../../converters/libiconv/buildlink3.mk" .include "../../databases/db3/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" +.include "../../inputmethod/libchewing/buildlink3.mk" .include "../../inputmethod/libtabe/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/x11.buildlink3.mk" - .include "../../mk/bsd.pkg.mk" |