freebsd-ports/devel/sfio/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

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
MASTER_SITES= ${MASTER_SITE_NETBSD}
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
EXTRACT_CMD= ${CPIO}
1998-11-07 19:04:14 +01:00
EXTRACT_BEFORE_ARGS= -idF
EXTRACT_AFTER_ARGS= # empty
1997-11-09 11:32:51 +01:00
NO_WRKSUBDIR= yes
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:
@${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:
${MKDIR} ${PREFIX}/include/sfio
${INSTALL_DATA} ${WRKDIR}/include/* ${PREFIX}/include/sfio
cd ${WRKDIR}/lib ; ${INSTALL_DATA} libsfio.a libstdio.a ${PREFIX}/lib
${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>