From owner-svn-ports-head@FreeBSD.ORG Wed May 20 11:31:00 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E211572D; Wed, 20 May 2015 11:30:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFD6F198C; Wed, 20 May 2015 11:30:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4KBUxBs015860; Wed, 20 May 2015 11:30:59 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4KBUwU8015853; Wed, 20 May 2015 11:30:58 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505201130.t4KBUwU8015853@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Wed, 20 May 2015 11:30:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386853 - in head/devel/neotoma: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 11:31:00 -0000 Author: olgeni Date: Wed May 20 11:30:58 2015 New Revision: 386853 URL: https://svnweb.freebsd.org/changeset/ports/386853 Log: Provide a working "neotoma" script in bin/. The script in bin/ has to be linked to the original script in erlang/lib, because escript will use the original script path to locate the necessary data files and it does not handle symlinks. Added: head/devel/neotoma/files/neotoma.in (contents, props changed) head/devel/neotoma/files/patch-Makefile (contents, props changed) Modified: head/devel/neotoma/Makefile head/devel/neotoma/pkg-plist Modified: head/devel/neotoma/Makefile ============================================================================== --- head/devel/neotoma/Makefile Wed May 20 09:16:40 2015 (r386852) +++ head/devel/neotoma/Makefile Wed May 20 11:30:58 2015 (r386853) @@ -2,6 +2,7 @@ PORTNAME= neotoma PORTVERSION= 1.7.2 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= olgeni@FreeBSD.org @@ -12,6 +13,10 @@ LICENSE= MIT BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang RUN_DEPENDS:= ${BUILD_DEPENDS} +SUB_FILES+= neotoma +SUB_LIST+= PORTNAME=${PORTNAME} \ + PORTVERSION=${PORTVERSION} + PLIST_SUB= VERSION="${PORTVERSION}" USE_GITHUB= yes @@ -30,8 +35,12 @@ do-install: .endif @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/priv/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + ${INSTALL_SCRIPT} ${WRKSRC}/neotoma ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} + ${INSTALL_SCRIPT} ${WRKDIR}/neotoma ${STAGEDIR}${PREFIX}/bin .include Added: head/devel/neotoma/files/neotoma.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/neotoma/files/neotoma.in Wed May 20 11:30:58 2015 (r386853) @@ -0,0 +1,3 @@ +#!/bin/sh + +exec %%LOCALBASE%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/neotoma "$@" Added: head/devel/neotoma/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/neotoma/files/patch-Makefile Wed May 20 11:30:58 2015 (r386853) @@ -0,0 +1,10 @@ +--- Makefile.orig 2015-05-20 09:55:39 UTC ++++ Makefile +@@ -1,6 +1,6 @@ + .PHONY: test compile clean dialyzer bootstrap escript + +-all: compile ++all: compile escript + + compile: + @./rebar compile Modified: head/devel/neotoma/pkg-plist ============================================================================== --- head/devel/neotoma/pkg-plist Wed May 20 09:16:40 2015 (r386852) +++ head/devel/neotoma/pkg-plist Wed May 20 11:30:58 2015 (r386853) @@ -1,6 +1,10 @@ +bin/neotoma lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma.app lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma.beam lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma_parse.beam +lib/erlang/lib/neotoma-%%VERSION%%/neotoma +lib/erlang/lib/neotoma-%%VERSION%%/priv/neotoma_parse.peg +lib/erlang/lib/neotoma-%%VERSION%%/priv/peg_includes.hrl lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma.app.src lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma.erl lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma_parse.erl