1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/lion/Makefile

38 lines
928 B
Makefile

# Created by: Marco Molteni <molterSPAM@gufiSPAM.org>
# $FreeBSD$
PORTNAME= lion
DISTVERSION= 20060630
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
NO_STAGE= yes
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>