summaryrefslogtreecommitdiff
path: root/inputmethod/Chinput
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
commit56b6af428423c4de57e42b39c712b29a75b2dfda (patch)
treedbf82d88f69c900ca1397ba85bdd84959b71d3d9 /inputmethod/Chinput
parent33cef9b4f51b52a3b30d8d656a62d2a1ad952487 (diff)
downloadpkgsrc-56b6af428423c4de57e42b39c712b29a75b2dfda.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'inputmethod/Chinput')
-rw-r--r--inputmethod/Chinput/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/inputmethod/Chinput/Makefile b/inputmethod/Chinput/Makefile
index 90c32070468..331352a8aff 100644
--- a/inputmethod/Chinput/Makefile
+++ b/inputmethod/Chinput/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/15 14:38:28 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/04 15:55:13 jlam Exp $
DISTNAME= Chinput-3.0
PKGREVISION= 3
@@ -9,6 +9,8 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.opencjk.org/~yumj/project-chinput.html
COMMENT= Chinese input server
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
BUILD_TARGET= chinput
@@ -26,12 +28,10 @@ post-patch:
${WRKSRC}/resource/Chinput.ad
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/chinput ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/resource/Chinput.ad ${PREFIX}/etc
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Chinput
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/Chinput
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/chinput ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/resource/Chinput.ad ${DESTDIR}${PREFIX}/etc
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Chinput
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/Chinput
.include "../../inputmethod/unicon-im/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"