diff options
author | olgeni <olgeni@FreeBSD.org> | 2003-07-19 20:57:30 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2003-07-19 20:57:30 +0800 |
commit | fe39c53b409e0383e998f3b08f61f2a0b73d2c8c (patch) | |
tree | 0397e832574658d08568beeb14ee0e0e66f718ca /devel/distel | |
parent | 6250361b0488c458793b90f4519182df6aed3211 (diff) | |
download | freebsd-ports-gnome-fe39c53b409e0383e998f3b08f61f2a0b73d2c8c.tar.gz freebsd-ports-gnome-fe39c53b409e0383e998f3b08f61f2a0b73d2c8c.tar.zst freebsd-ports-gnome-fe39c53b409e0383e998f3b08f61f2a0b73d2c8c.zip |
Shorten symlink in erlang's lib directory, use ${PORTNAME} rather than
hardcoded value.
Diffstat (limited to 'devel/distel')
-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> |