aboutsummaryrefslogtreecommitdiff
path: root/editors/xemacs-packages
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs-packages')
-rw-r--r--editors/xemacs-packages/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile
index dcc583545cb2..526f0d05cc7e 100644
--- a/editors/xemacs-packages/Makefile
+++ b/editors/xemacs-packages/Makefile
@@ -149,8 +149,8 @@ post-patch:
${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f \{} \;
do-install:
- ${MKDIR} ${XEMACSDIR}
- ${CP} -R ${WRKSRC} ${XEMACSDIR}
+ ${MKDIR} ${XEMACSDIR}/${PACKAGES_SUBDIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${XEMACSDIR}/${PACKAGES_SUBDIR})
post-install:
@cd ${WRKDIR} && \