aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-05-06 04:30:52 +0800
committerolgeni <olgeni@FreeBSD.org>2015-05-06 04:30:52 +0800
commitdab9a44cd346d708def635c4220c3a1be9782dec (patch)
treedfeee1b79e71e654de9c84b1c53d17eb71def0da /devel
parenta3aa6e3d9f839af296506686297ca7fed0293981 (diff)
downloadfreebsd-ports-gnome-dab9a44cd346d708def635c4220c3a1be9782dec.tar.gz
freebsd-ports-gnome-dab9a44cd346d708def635c4220c3a1be9782dec.tar.zst
freebsd-ports-gnome-dab9a44cd346d708def635c4220c3a1be9782dec.zip
Use PORTNAME in install code.
Diffstat (limited to 'devel')
-rw-r--r--devel/erlang-msgpack/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/erlang-msgpack/Makefile b/devel/erlang-msgpack/Makefile
index b30384700f7e..459973e683f2 100644
--- a/devel/erlang-msgpack/Makefile
+++ b/devel/erlang-msgpack/Makefile
@@ -34,12 +34,12 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.endif
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/ebin
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/include
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/src
- ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/ebin
- ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${PORTVERSION}/include
- ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/msgpack-${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}/include
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+ ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>