freebsd-ports/devel/distel/Makefile
Yasuhiro Kimura ea66012756 editors/emacs-devel: Update to 2022-11-28 snapshot
Bump PORTREVISION of consumers as EMACS_VER is changed to 30.0.50.

Changes:	51589f81...7939184f
2022-11-30 16:06:37 +09:00

49 lines
1.4 KiB
Makefile

PORTNAME= distel
PORTVERSION= 4.1.1
PORTREVISION= 11
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= erlang@FreeBSD.org
COMMENT= Distel extends Emacs Lisp with Erlang-style message passing
WWW= http://www.bluetail.com/~luke/distel/
LICENSE= MIT
BUILD_DEPENDS+= erlc:lang/erlang
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= massemanet
PLIST_SUB= VERSION="${PORTVERSION}"
NO_ARCH= yes
DISTEL_DOCS= AUTHORS ChangeLog INSTALL INSTALL.WIN32 NEWS README README.ie-session
DISTEL_ROOT= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
do-build:
@${MKDIR} ${WRKSRC}/ebin
@cd ${WRKSRC} && erlc -W0 -o ebin/ +debug_info src/*.erl
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/elisp/*el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
for FILE in ${DISTEL_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/distel/*.html ${STAGEDIR}${DOCSDIR}/html
@${MKDIR} ${STAGEDIR}${DISTEL_ROOT}/src
@${MKDIR} ${STAGEDIR}${DISTEL_ROOT}/ebin
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${STAGEDIR}${DISTEL_ROOT}/src
${INSTALL_DATA} ${WRKSRC}/ebin/*.beam ${STAGEDIR}${DISTEL_ROOT}/ebin
.include <bsd.port.mk>