diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-05 20:06:06 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-05 20:06:06 +0000 |
commit | 7274ae2aaface80ab8bc44b546694265d46f7f0b (patch) | |
tree | 69510290ae709c0d12969887487da7e54e08f2a6 /databases/erlang-mysql | |
parent | 633f06580c92e00fac3d6adf0bd66eef68253692 (diff) | |
download | ports-7274ae2aaface80ab8bc44b546694265d46f7f0b.tar.gz ports-7274ae2aaface80ab8bc44b546694265d46f7f0b.zip |
Notes
Diffstat (limited to 'databases/erlang-mysql')
-rw-r--r-- | databases/erlang-mysql/Makefile | 43 | ||||
-rw-r--r-- | databases/erlang-mysql/distinfo | 2 | ||||
-rw-r--r-- | databases/erlang-mysql/pkg-descr | 8 | ||||
-rw-r--r-- | databases/erlang-mysql/pkg-plist | 13 |
4 files changed, 66 insertions, 0 deletions
diff --git a/databases/erlang-mysql/Makefile b/databases/erlang-mysql/Makefile new file mode 100644 index 000000000000..84bdfc2472a1 --- /dev/null +++ b/databases/erlang-mysql/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: erlang-mysql +# Date Created: 2006-05-04 +# Whom: Shaun Amott <shaun@inerd.com> +# +# $FreeBSD$ +# + +PORTNAME= mysql +PORTVERSION= 1.0 +CATEGORIES= databases +MASTER_SITES= https://support.process-one.net/doc/download/attachments/415/ \ + http://mirror.inerd.com/FreeBSD/distfiles/erlang-mysql/ +PKGNAMEPREFIX= erlang- +DISTNAME= ${PORTNAME} + +MAINTAINER= shaun@inerd.com +COMMENT= Native MySQL driver for Erlang + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang +RUN_DEPENDS= ${BUILD_DEPENDS} + +ERLC?= erlc +ERLANGDIR?= ${PREFIX}/lib/erlang/lib + +PLIST_SUB= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ + ERLANGDIR=${ERLANGDIR:S/^${PREFIX}\///} + +.include <bsd.port.pre.mk> + +do-build: + cd ${WRKSRC} && ${ERLC} *.erl + +do-install: + @${MKDIR} ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/src + @${MKDIR} ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/ebin + @${MKDIR} ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/include + + cd ${WRKSRC} \ + && ${INSTALL_DATA} *.erl ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/src \ + && ${INSTALL_DATA} *.beam ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/ebin \ + && ${INSTALL_DATA} *.hrl ${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/include + +.include <bsd.port.post.mk> diff --git a/databases/erlang-mysql/distinfo b/databases/erlang-mysql/distinfo new file mode 100644 index 000000000000..ce28bf1d1fd9 --- /dev/null +++ b/databases/erlang-mysql/distinfo @@ -0,0 +1,2 @@ +MD5 (mysql.tar.gz) = 0dc724df6fdc8a5b1ce133c6f31091d4 +SIZE (mysql.tar.gz) = 13500 diff --git a/databases/erlang-mysql/pkg-descr b/databases/erlang-mysql/pkg-descr new file mode 100644 index 000000000000..95f7a1d8bba7 --- /dev/null +++ b/databases/erlang-mysql/pkg-descr @@ -0,0 +1,8 @@ +This port provides a native (as opposed to ODBC) MySQL interface for +Erlang applications. It has been extracted from the codebase of the +Yxa SIP Software [1], and is provided by Process One [2]. + +[1] http://www.stacken.kth.se/project/yxa/ +[2] http://www.process-one.net/ + +WWW: http://support.process-one.net/doc/display/CONTRIBS/Yxa/ diff --git a/databases/erlang-mysql/pkg-plist b/databases/erlang-mysql/pkg-plist new file mode 100644 index 000000000000..4ffbbc797583 --- /dev/null +++ b/databases/erlang-mysql/pkg-plist @@ -0,0 +1,13 @@ +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/src/mysql.erl +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/src/mysql_auth.erl +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/src/mysql_conn.erl +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/src/mysql_recv.erl +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/ebin/mysql.beam +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/ebin/mysql_auth.beam +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/ebin/mysql_conn.beam +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/ebin/mysql_recv.beam +%%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/include/mysql.hrl +@dirrm %%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/src +@dirrm %%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/ebin +@dirrm %%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%%/include +@dirrm %%ERLANGDIR%%/%%PORTNAME%%-%%PORTVERSION%% |