1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/distel/Makefile
Ashish SHUKLA 7fc5bd70f3 GNU Emacs updates
editors/emacs:
 - Update to 24.3
 - Update CANNA patchset[1]
 - Unbreak ARM support by using the patch from emacs-devel port
 - Add missing INSTALLS_ICONS[2]
 - Remove a patch which is already integrated upstream
 - Fix Makefile header

editors/emacs-devel:
 - Update to bzr revision 112178
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

editors/emacs23:
 - Remove ABI versions from LIB_DEPENDS
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

Mk/bsd.emacs.mk:
 - Update major version for editors/emacs port

*:
 - Bump PORTREVISION to chase Emacs updates

PR:		ports/177428[2]
Submitted by:	Yuji TAKANO[1] (via private email), bdrewery[2]
2013-03-30 05:13:30 +00:00

50 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= distel
PORTVERSION= 2012.05.28
PORTREVISION= 1
CATEGORIES= devel elisp
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Distel extends Emacs Lisp with Erlang-style message passing
BUILD_DEPENDS+= erlc:${PORTSDIR}/lang/erlang
USE_GITHUB= yes
GH_ACCOUNT= massemanet
GH_COMMIT= ecc8581
GH_TAGNAME= ${GH_COMMIT}
PLIST_SUB= VERSION="${PORTVERSION}"
USE_EMACS= yes
DISTEL_DOCS= AUTHORS ChangeLog INSTALL INSTALL.WIN32 NEWS README README.ie-session
DISTEL_ROOT= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
do-build:
@${MKDIR} ${WRKSRC}/ebin
@cd ${WRKSRC} && erlc -W0 -o ebin/ +debug_info src/*.erl
do-install:
@${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/elisp/*el ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@for FILE in ${DISTEL_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
done
@${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
@${INSTALL_DATA} ${WRKSRC}/doc/distel/*.html ${DOCSDIR}/html
@${MKDIR} ${DISTEL_ROOT}
.endif
@${MKDIR} ${DISTEL_ROOT}/src
@${MKDIR} ${DISTEL_ROOT}/ebin
@${INSTALL_DATA} ${WRKSRC}/src/*.erl ${DISTEL_ROOT}/src
@${INSTALL_DATA} ${WRKSRC}/ebin/*.beam ${DISTEL_ROOT}/ebin
@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.mk>