Add syntax_tools, code manipulation modules for Erlang.

This commit is contained in:
Jimmy Olgeni 2003-07-18 11:47:18 +00:00
parent 239b76ced1
commit c637191325
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85123
5 changed files with 78 additions and 0 deletions

View file

@ -968,6 +968,7 @@
SUBDIR += swig13
SUBDIR += swig13-doc
SUBDIR += swigruby
SUBDIR += syntax_tools
SUBDIR += sysconftool
SUBDIR += t1lib
SUBDIR += tcl-memchan

View file

@ -0,0 +1,39 @@
# New ports collection makefile for: syntax_tools
# Date Created: 18 July 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= syntax_tools
PORTVERSION= 1.2
CATEGORIES= devel
MASTER_SITES= http://erlang.org/contrib/
EXTRACT_SUFX= .tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang modules for code manipulation
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
SYNTAX_TOOLS= ${PREFIX}/lib/erlang/lib/syntax_tools-${PORTVERSION}
post-extract:
@${RM} ${WRKSRC}/demo.erl ${WRKSRC}/test.erl
do-build:
@cd ${WRKSRC} && erlc *.erl
do-install:
@${MKDIR} ${SYNTAX_TOOLS}
@${MKDIR} ${SYNTAX_TOOLS}/src
@${MKDIR} ${SYNTAX_TOOLS}/ebin
@${MKDIR} ${SYNTAX_TOOLS}/doc
@${INSTALL_DATA} ${WRKSRC}/*.erl ${SYNTAX_TOOLS}/src
@${INSTALL_DATA} ${WRKSRC}/*.beam ${SYNTAX_TOOLS}/ebin
@${INSTALL_DATA} ${WRKSRC}/doc/* ${SYNTAX_TOOLS}/doc
@${LN} -sf ${SYNTAX_TOOLS} ${PREFIX}/lib/erlang/lib/syntax_tools
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (syntax_tools-1.2.tgz) = 4e9b4e801d6c58b1ea8e6dab494919fe

View file

@ -0,0 +1,4 @@
Erlang modules for analysis and manipulation, flexible pretty
printing, and preservation of source-code comments.
WWW: http://erlang.org/user.html

View file

@ -0,0 +1,33 @@
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/epp_dodger.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_comment_scan.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_prettypr.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_recomment.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_syntax.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_syntax_lib.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/erl_tidy.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/index.html
lib/erlang/lib/syntax_tools-%%VERSION%%/doc/stylesheet.css
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/epp_dodger.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_comment_scan.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_prettypr.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_recomment.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_syntax.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_syntax_lib.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/erl_tidy.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/prettypr.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/ebin/proplists.beam
lib/erlang/lib/syntax_tools-%%VERSION%%/src/epp_dodger.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_comment_scan.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_prettypr.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_recomment.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_syntax.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_syntax_lib.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/erl_tidy.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/prettypr.erl
lib/erlang/lib/syntax_tools-%%VERSION%%/src/proplists.erl
@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%/src
@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%/ebin
@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%/doc
@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%
@exec ln -sf syntax_tools-%%VERSION%% %D/lib/erlang/lib/syntax_tools
@unexec rm -f %D/lib/erlang/lib/syntax_tools