freebsd-ports/devel/lion/Makefile
Renato Botelho 08dcbfe97f LiON (Lund's Input Output Library) is a C library to quickly develop
programs that are event-driven, networked, non-blocking and portable.
It includes a simple API to do any networking, file I/O and pipes.

It is multiplatform and runs on POSIX-like systems and Windows.

WWW: http://www.lundman.net/wiki/index.php/LiON

PR:		ports/99589
Submitted by:	Marco Molteni <molterSPAM@gufiSPAM.org>
2006-06-29 11:08:18 +00:00

40 lines
983 B
Makefile

# New ports collection makefile for: LiON
# Date created: June 2006
# Whom: Marco Molteni <molterSPAM@gufiSPAM.org>
#
# $FreeBSD$
#
PORTNAME= lion
DISTVERSION= 20060301
CATEGORIES= devel net
MASTER_SITES= http://www.lundman.net/ftp/
EXTRACT_SUFX= .tgz
MAINTAINER= molterSPAM@gufiSPAM.org
COMMENT= Multi-platform, event-driven, simple networking library
# TODO
# add support for SSL/TLS/OpenSSL
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
post-patch:
@${REINPLACE_CMD} -e 's,<time.h>,<sys/time.h>,' \
${WRKSRC}/timers.h
@${REINPLACE_CMD} -E 's,^(CC|LDFLAGS) *=,\1 ?=,' \
${WRKSRC}/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/liblion.a ${PREFIX}/lib
@${MKDIR} ${PREFIX}/include/lion
.for i in ${INCLUDES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include/lion
.endfor
.include <bsd.port.mk>