2000-01-03 02:36:57 +01:00
|
|
|
# ex:ts=8
|
2000-02-13 04:25:05 +01:00
|
|
|
# Ports collection makefile for: sfio
|
|
|
|
# Date created: 8 November 1997
|
|
|
|
# Whom: jraynard
|
1997-11-09 11:32:51 +01:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-11-09 11:32:51 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:44:42 +02:00
|
|
|
PORTNAME= sfio
|
|
|
|
PORTVERSION= 1999
|
1997-11-09 11:32:51 +01:00
|
|
|
CATEGORIES= devel
|
2001-03-13 20:01:21 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_NETBSD}
|
2000-05-14 02:24:32 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .src.unix.cpio
|
2000-01-03 02:36:57 +01:00
|
|
|
|
2002-05-09 02:38:11 +02:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= The Safe/Fast I/O Library
|
2000-01-03 02:36:57 +01:00
|
|
|
|
2004-01-22 13:18:43 +01:00
|
|
|
EXTRACT_CMD= ${CPIO}
|
1998-11-07 19:04:14 +01:00
|
|
|
EXTRACT_BEFORE_ARGS= -idF
|
1999-02-03 12:12:01 +01:00
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
1997-11-09 11:32:51 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
1999-12-27 01:37:52 +01:00
|
|
|
MAN1= iffe.1
|
|
|
|
MAN3= sfio.3
|
2002-05-26 14:28:59 +02:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
1997-11-09 11:32:51 +01:00
|
|
|
|
|
|
|
# Remove a test that's too clever for its own good
|
|
|
|
post-extract:
|
1998-11-10 22:00:14 +01:00
|
|
|
@${MV} ${WRKDIR}/src/lib/sfio/Sfio_t/tmmap2read.c \
|
|
|
|
${WRKDIR}/src/lib/sfio/Sfio_t/.tmmap2read.c
|
1997-11-09 11:32:51 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKDIR}/src/lib/sfio && ${MAKE} all -f makefile
|
|
|
|
|
2002-05-26 14:28:59 +02:00
|
|
|
pre-install:
|
|
|
|
${RM} -f ${PLIST}
|
|
|
|
.for ii in ast_common sfio sfio_t stdio
|
|
|
|
${ECHO_CMD} include/sfio/${ii}.h >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
.for ii in sfio stdio
|
|
|
|
${ECHO_CMD} lib/lib${ii}.a >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
${ECHO_CMD} @dirrm include/sfio >> ${PLIST}
|
|
|
|
|
1997-11-09 11:32:51 +01:00
|
|
|
do-install:
|
2000-08-27 07:24:18 +02:00
|
|
|
${MKDIR} ${PREFIX}/include/sfio
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/include/* ${PREFIX}/include/sfio
|
|
|
|
cd ${WRKDIR}/lib ; ${INSTALL_DATA} libsfio.a libstdio.a ${PREFIX}/lib
|
1999-12-27 01:37:52 +01:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/man/man1/iffe.1 ${PREFIX}/man/man1
|
1997-11-09 11:32:51 +01:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/man/man3/sfio.3 ${PREFIX}/man/man3
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|