diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-05-06 04:56:55 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-05-06 04:56:55 +0800 |
commit | 7985739e12737154a58c300ea7bfec52e7fa6abc (patch) | |
tree | a9811feeac5dbe9df931f54a94e51d11a94df6fe | |
parent | e7b9287613a29b54e42bf37042c10cb5d36fc6ee (diff) | |
download | freebsd-ports-gnome-7985739e12737154a58c300ea7bfec52e7fa6abc.tar.gz freebsd-ports-gnome-7985739e12737154a58c300ea7bfec52e7fa6abc.tar.zst freebsd-ports-gnome-7985739e12737154a58c300ea7bfec52e7fa6abc.zip |
Remove unnecessary rebar dependency and use PORTNAME in install code.
-rw-r--r-- | devel/erlang-protobuffs/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/erlang-protobuffs/Makefile b/devel/erlang-protobuffs/Makefile index 670f7318e90f..21cb9fea4ece 100644 --- a/devel/erlang-protobuffs/Makefile +++ b/devel/erlang-protobuffs/Makefile @@ -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> |