aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/distel/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/distel/Makefile b/devel/distel/Makefile
index 582e74836510..96e0bceaf0ef 100644
--- a/devel/distel/Makefile
+++ b/devel/distel/Makefile
@@ -37,10 +37,10 @@ DISTEL_ROOT= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/c/dec32 ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/distel
- @${INSTALL_DATA} ${WRKSRC}/elisp/*el ${PREFIX}/${EMACS_SITE_LISPDIR}/distel
- @${INSTALL_DATA} ${WRKSRC}/elisp/*elc ${PREFIX}/${EMACS_SITE_LISPDIR}/distel
- @${INSTALL_DATA} ${WRKSRC}/elisp/*elc ${PREFIX}/${EMACS_SITE_LISPDIR}/distel
+ @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/elisp/*el ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/elisp/*elc ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/elisp/*elc ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
@${MKDIR} ${DOCSDIR}
@for FILE in ${DISTEL_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
@@ -53,6 +53,6 @@ do-install:
@${MKDIR} ${DISTEL_ROOT}/ebin
@${INSTALL_DATA} ${WRKSRC}/erl/*.erl ${DISTEL_ROOT}/src
@${INSTALL_DATA} ${WRKSRC}/ebin/*.beam ${DISTEL_ROOT}/ebin
- @${LN} -sf ${DISTEL_ROOT} ${PREFIX}/lib/erlang/lib/distel
+ @${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.mk>