diff --git a/textproc/jdictionary/Makefile b/textproc/jdictionary/Makefile index 50defe34fc1b..4bb9453e8160 100644 --- a/textproc/jdictionary/Makefile +++ b/textproc/jdictionary/Makefile @@ -23,10 +23,9 @@ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= jdictionary.sh -NO_STAGE= yes do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/jdictionary.jar ${DATADIR}/ - ${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/jdictionary.jar ${STAGEDIR}${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${STAGEDIR}${PREFIX}/bin/jdictionary .include diff --git a/textproc/jdictionary/Makefile.plugin b/textproc/jdictionary/Makefile.plugin index e65ca14536cf..c2d412c4b13b 100644 --- a/textproc/jdictionary/Makefile.plugin +++ b/textproc/jdictionary/Makefile.plugin @@ -26,7 +26,7 @@ DESCR= ${.CURDIR}/pkg-descr PLIST_SUB+= DISTNAME=${DISTNAME} do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${DATADIR}/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${DATADIR}/ .include