aboutsummaryrefslogtreecommitdiffstats
path: root/databases/erlang-mysql
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-07 10:11:20 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-07 10:11:20 +0800
commitfb73d1bfb3b21de6582657808c9d493eb7e1a570 (patch)
treea409e06ff46b58099b2728e5ad76e5e2627b6bc4 /databases/erlang-mysql
parent03e53d75ca527ec1fc4cae83dcd9c1a3d5e88a79 (diff)
downloadfreebsd-ports-gnome-fb73d1bfb3b21de6582657808c9d493eb7e1a570.tar.gz
freebsd-ports-gnome-fb73d1bfb3b21de6582657808c9d493eb7e1a570.tar.zst
freebsd-ports-gnome-fb73d1bfb3b21de6582657808c9d493eb7e1a570.zip
Stagify.
Diffstat (limited to 'databases/erlang-mysql')
-rw-r--r--databases/erlang-mysql/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/databases/erlang-mysql/Makefile b/databases/erlang-mysql/Makefile
index 3e5d5c326efb..ad2cd1fb2e2c 100644
--- a/databases/erlang-mysql/Makefile
+++ b/databases/erlang-mysql/Makefile
@@ -22,20 +22,17 @@ ERLANGDIR?= ${PREFIX}/lib/erlang/lib
PLIST_SUB= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
ERLANGDIR=${ERLANGDIR:S/^${PREFIX}\///}
-NO_STAGE= yes
-.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
+ @${MKDIR} ${STAGEDIR}${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/src
+ @${MKDIR} ${STAGEDIR}${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/ebin
+ @${MKDIR} ${STAGEDIR}${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
+ && ${INSTALL_DATA} *.erl ${STAGEDIR}${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/src \
+ && ${INSTALL_DATA} *.beam ${STAGEDIR}${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/ebin \
+ && ${INSTALL_DATA} *.hrl ${STAGEDIR}${ERLANGDIR}/${PORTNAME}-${PORTVERSION}/include
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>