diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-07-19 12:57:30 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-07-19 12:57:30 +0000 |
commit | 6de9cd82d149ad4cfc549ca62fa88bd48716612f (patch) | |
tree | 84bcb44c747289c70c9855a14b90cf2db70745a2 | |
parent | Shorten symlink in erlang's lib directory. (diff) |
Shorten symlink in erlang's lib directory, use ${PORTNAME} rather than
hardcoded value.
Notes
Notes:
svn path=/head/; revision=85192
-rw-r--r-- | devel/distel/Makefile | 10 |
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> |