Index: head/devel/safe-iop/Makefile =================================================================== --- head/devel/safe-iop/Makefile (revision 433821) +++ head/devel/safe-iop/Makefile (revision 433822) @@ -1,31 +1,30 @@ # Created by: stas # $FreeBSD$ PORTNAME= safe-iop PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GOOGLE_CODE +MASTER_SITES= http://BSDforge.com/projects/source/devel/safe-iop/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@BSDforge.com COMMENT= Safe integer operation library for C -BROKEN= Unfetchable (google code has gone away) - USES= tar:tgz USE_LDCONFIG= yes ALL_TARGET= so CFLAGS+= -fPIC PLIST_FILES= include/safe_iop.h \ lib/libsafe_iop.so.0 post-patch: @${REINPLACE_CMD} -E -e 's,(^CC[[:space:]]*=.*),#\1,' \ -e 's,(^CFLAGS[[:space:]]*)=.*,\1+= -Iinclude,' \ -e 's,(^VERSION[[:space:]]*=[[:space:]]*[[:digit:]]+).*,\1,' \ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/libsafe_iop.so.0 ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libsafe_iop.so.0 ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/include/safe_iop.h ${STAGEDIR}${PREFIX}/include .include Index: head/devel/safe-iop/pkg-descr =================================================================== --- head/devel/safe-iop/pkg-descr (revision 433821) +++ head/devel/safe-iop/pkg-descr (revision 433822) @@ -1,14 +1,14 @@ -This library provides a collection of (macro-based) functions -for performing safe integer operations across platform and architecture +This library provides a collection of (macro-based) functions for +performing safe integer operations across platform and architecture with a straightforward API. It supports two modes of use: header-only and linked dynamic library. The linked, dynamic library supplies a format-string based interface which is in pre-alpha. The header-only mode supplies integer and sign overflow and underflow pre-condition checks using checks derived from the CERT secure coding guide. The checks do not rely on twos complement arithmetic and should not at any point perform an arithmetic operations -that may overflow. It also performs basic type agreement checks to ensure -that the macros are being used (somewhat) correctly. +that may overflow. It also performs basic type agreement checks to +ensure that the macros are being used (somewhat) correctly. -WWW: http://code.google.com/p/safe-iop/ +WWW: http://BSDforge.com/projects/devel/safe-iop/