From 6de9cd82d149ad4cfc549ca62fa88bd48716612f Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Sat, 19 Jul 2003 12:57:30 +0000 Subject: Shorten symlink in erlang's lib directory, use ${PORTNAME} rather than hardcoded value. --- devel/distel/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'devel') 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 -- cgit v1.2.3