aboutsummaryrefslogtreecommitdiff
path: root/devel/lion
diff options
context:
space:
mode:
Diffstat (limited to 'devel/lion')
-rw-r--r--devel/lion/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/lion/Makefile b/devel/lion/Makefile
index 21fba1521054..10d7c4bccffe 100644
--- a/devel/lion/Makefile
+++ b/devel/lion/Makefile
@@ -12,15 +12,14 @@ COMMENT= Multi-platform, event-driven, simple networking library
# TODO
# add support for SSL/TLS/OpenSSL
+USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_GMAKE= yes
ALL_TARGET= default
INCLUDES= base64.h connections.h io.h lfnmatch.h lgroup.h lion.h \
lion_rcsid.h lion_types.h misc.h pipe.h sockets.h \
timers.h tls.h udp.h zlib.h
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,<time.h>,<sys/time.h>,' \
${WRKSRC}/timers.h
@@ -28,10 +27,10 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/liblion.a ${PREFIX}/lib
- @${MKDIR} ${PREFIX}/include/lion
+ ${INSTALL_DATA} ${WRKSRC}/liblion.a ${STAGEDIR}${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/include/lion
.for i in ${INCLUDES}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include/lion
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include/lion
.endfor
.include <bsd.port.mk>