aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-07-25 18:11:55 +0800
committervs <vs@FreeBSD.org>2004-07-25 18:11:55 +0800
commitb9f19f1119296346f676940bb90705342e9af8f1 (patch)
tree56cc445444da2d1652786ea580262ef177226145 /devel
parentda9ecbd67fefa0ac522c0697a2bd46e22ec6f5f6 (diff)
downloadfreebsd-ports-gnome-b9f19f1119296346f676940bb90705342e9af8f1.tar.gz
freebsd-ports-gnome-b9f19f1119296346f676940bb90705342e9af8f1.tar.zst
freebsd-ports-gnome-b9f19f1119296346f676940bb90705342e9af8f1.zip
Add syntax_tools-devel 1.3, erlang modules for code manipulation,
unstable devel version. PR: ports/61745 Submitted by: chris_pressey@yahoo.ca
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/syntax_tools-devel/Makefile47
-rw-r--r--devel/syntax_tools-devel/distinfo1
-rw-r--r--devel/syntax_tools-devel/pkg-descr6
-rw-r--r--devel/syntax_tools-devel/pkg-plist39
5 files changed, 94 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bee5b4aeda6d..c4c845cc2719 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1283,6 +1283,7 @@
SUBDIR += swig13-doc
SUBDIR += swigruby
SUBDIR += syntax_tools
+ SUBDIR += syntax_tools-devel
SUBDIR += sysconftool
SUBDIR += t1lib
SUBDIR += tavrasm
diff --git a/devel/syntax_tools-devel/Makefile b/devel/syntax_tools-devel/Makefile
new file mode 100644
index 000000000000..a0cae822c2e8
--- /dev/null
+++ b/devel/syntax_tools-devel/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: syntax_tools-devel
+# Date Created: 31 December 2003
+# Whom: chris_pressey@yahoo.ca
+# Based on: devel/syntax_tools, olgeni@FreeBSD.org, 18 July 2003
+#
+# $FreeBSD$
+#
+
+PORTNAME= syntax_tools
+PORTVERSION= 1.3
+CATEGORIES= devel
+MASTER_SITES= http://user.it.uu.se/~richardc/edoc/
+PKGNAMESUFFIX= -devel
+DISTNAME= syntax_tools
+DIST_SUBDIR= erlang
+
+MAINTAINER= chris_pressey@yahoo.ca
+COMMENT= Erlang modules for code manipulation, unstable devel version
+
+BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
+RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
+
+CONFLICTS= syntax_tools-1.2*
+
+PLIST_SUB= VERSION="${PORTVERSION}"
+
+USE_GMAKE= yes
+
+SYNTAX_TOOLS= ${PREFIX}/lib/erlang/lib/syntax_tools-${PORTVERSION}
+
+do-install:
+ @${MKDIR} ${SYNTAX_TOOLS}
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ @${LN} -s ${DOCSDIR} ${SYNTAX_TOOLS}/doc
+.endif
+
+ @${MKDIR} ${SYNTAX_TOOLS}/src
+ @${MKDIR} ${SYNTAX_TOOLS}/ebin
+ @${INSTALL_DATA} ${WRKSRC}/src/*.erl ${SYNTAX_TOOLS}/src
+ @${INSTALL_DATA} ${WRKSRC}/ebin/*.beam ${SYNTAX_TOOLS}/ebin
+ @${LN} -sf ${DISTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/syntax_tools-devel/distinfo b/devel/syntax_tools-devel/distinfo
new file mode 100644
index 000000000000..38cfb00387ea
--- /dev/null
+++ b/devel/syntax_tools-devel/distinfo
@@ -0,0 +1 @@
+MD5 (erlang/syntax_tools.tar.gz) = fc19ce0856d1407274e022fa331d0d68
diff --git a/devel/syntax_tools-devel/pkg-descr b/devel/syntax_tools-devel/pkg-descr
new file mode 100644
index 000000000000..bb1954ef731f
--- /dev/null
+++ b/devel/syntax_tools-devel/pkg-descr
@@ -0,0 +1,6 @@
+Erlang modules for analysis and manipulation, flexible pretty
+printing, and preservation of source-code comments.
+
+This is the unstable beta version of syntax_tools.
+
+WWW: http://user.it.uu.se/~richardc/edoc
diff --git a/devel/syntax_tools-devel/pkg-plist b/devel/syntax_tools-devel/pkg-plist
new file mode 100644
index 000000000000..e2d48ecf5959
--- /dev/null
+++ b/devel/syntax_tools-devel/pkg-plist
@@ -0,0 +1,39 @@
+%%PORTDOCS%%%%DOCSDIR%%/edoc-info
+%%PORTDOCS%%%%DOCSDIR%%/epp_dodger.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_comment_scan.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_prettypr.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_recomment.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_syntax.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_syntax_lib.html
+%%PORTDOCS%%%%DOCSDIR%%/erl_tidy.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/modules-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/overview-summary.html
+%%PORTDOCS%%%%DOCSDIR%%/overview.edoc
+%%PORTDOCS%%%%DOCSDIR%%/packages-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/prettypr.html
+%%PORTDOCS%%%%DOCSDIR%%/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%%/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
+%%PORTDOCS%%@exec ln -sf %D/%%DOCSDIR%% %D/lib/erlang/lib/syntax_tools-%%VERSION%%/doc
+%%PORTDOCS%%@unexec rm -f %D/lib/erlang/lib/syntax_tools-%%VERSION%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%/src
+@dirrm lib/erlang/lib/syntax_tools-%%VERSION%%/ebin
+@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