pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Chinput: Drop PKG_DESTDIR_SUPPORT=none



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri May 27 21:23:13 2016 +0200
Changeset:	125e50a2680dd394a1705fe2762fca1a3ccccaf7

Modified Files:
	Chinput/Makefile

Log Message:
Chinput: Drop PKG_DESTDIR_SUPPORT=none

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=125e50a2680dd394a1705fe2762fca1a3ccccaf7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Chinput/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diffs:
diff --git a/Chinput/Makefile b/Chinput/Makefile
index e00b070..4fd2db2 100644
--- a/Chinput/Makefile
+++ b/Chinput/Makefile
@@ -11,8 +11,6 @@ MAINTAINER=	rxg%NetBSD.org@localhost
 HOMEPAGE=	http://www.opencjk.org/~yumj/project-chinput.html
 COMMENT=	Chinese input server
 
-PKG_DESTDIR_SUPPORT=	none
-
 USE_X11BASE=	yes
 
 BUILD_TARGET=	chinput
@@ -31,13 +29,13 @@ post-patch:
 		${WRKSRC}/resource/Chinput.ad
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/chinput ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/chinput ${DESTDIR}${PREFIX}/bin
 	${INSTALL_DATA_DIR} ${EGDIR}
-	${INSTALL_DATA} ${WRKSRC}/resource/Chinput.ad ${EGDIR}/
+	${INSTALL_DATA} ${WRKSRC}/resource/Chinput.ad ${DESTDIR}${EGDIR}/
 
 post-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Chinput
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/Chinput
+	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Chinput
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/Chinput
 
 .include "../../inputmethod/unicon-im/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index