1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/libcoro/Makefile
2005-01-27 05:50:14 +00:00

34 lines
768 B
Makefile

# Ports collection Makefile for: libcoro
# Date created: 22 June 2000
# Whom: Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#
PORTNAME= libcoro
PORTVERSION= 1.0.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kbyanc
DISTNAME= coro-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C library that implements coroutines
ONLY_FOR_ARCHS= i386
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --arch arch/x86-freebsd
NOPRECIOUSMAKEVARS= yes
MAN2= coro.2
PLIST_FILES= lib/libcoro.a include/coro.h
post-extract:
${CP} -r ${WRKSRC}/arch/x86-linux ${WRKSRC}/arch/x86-freebsd
${SED} -e '43,43s/$$/ __attribute__((noreturn,regparm(1)))/' \
${WRKSRC}/arch/x86-linux/coro.c > ${WRKSRC}/arch/x86-freebsd/coro.c
.include <bsd.port.mk>