Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 20:56:55 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385493 - head/devel/erlang-protobuffs
Message-ID:  <201505052056.t45Kutf3007766@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue May  5 20:56:55 2015
New Revision: 385493
URL: https://svnweb.freebsd.org/changeset/ports/385493

Log:
  Remove unnecessary rebar dependency and use PORTNAME in install code.

Modified:
  head/devel/erlang-protobuffs/Makefile

Modified: head/devel/erlang-protobuffs/Makefile
==============================================================================
--- head/devel/erlang-protobuffs/Makefile	Tue May  5 20:55:23 2015	(r385492)
+++ head/devel/erlang-protobuffs/Makefile	Tue May  5 20:56:55 2015	(r385493)
@@ -2,14 +2,14 @@
 
 PORTNAME=	protobuffs
 PORTVERSION=	0.8.1p5
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	erlang-
 
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Protocol Buffers interface for Erlang
 
-BUILD_DEPENDS=	erlc:${PORTSDIR}/lang/erlang \
-		rebar:${PORTSDIR}/devel/rebar
+BUILD_DEPENDS=	erlc:${PORTSDIR}/lang/erlang
 RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
@@ -31,10 +31,10 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}
 .endif
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/ebin
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/src
-	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/ebin
-	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/protobuffs-${PORTVERSION}/src
+	@${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}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505052056.t45Kutf3007766>