Index: head/devel/fastcrc/Makefile =================================================================== --- head/devel/fastcrc/Makefile (revision 297077) +++ head/devel/fastcrc/Makefile (revision 297078) @@ -1,36 +1,37 @@ # New ports collection makefile for: fastcrc # Date created: 27 April 1999 # Whom: G. Adam Stanislav # # $FreeBSD$ # PORTNAME= fastcrc PORTVERSION= 1.0 CATEGORIES= devel MASTER_SITES= http://www.whizkidtech.redprince.net/fports/ MAINTAINER= ports@FreeBSD.org COMMENT= Fast CRC routines BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm ONLY_FOR_ARCHS= i386 USE_LDCONFIG= yes -.include +post-patch: + @${REINPLACE_CMD} -e \ + 's|gcc|$${CC}| ; \ + /strip/d' ${WRKSRC}/Makefile -.if ${OSVERSION} >= 900035 -BROKEN= Does not compile on recent FreeBSD-9 -.endif - do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib ${LN} -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so - ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include - ${MKDIR} ${PREFIX}/share/doc/fastcrc - ${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc - ${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR} +.endif -.include +.include Property changes on: head/devel/fastcrc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property Index: head/devel/fastcrc/pkg-plist =================================================================== --- head/devel/fastcrc/pkg-plist (revision 297077) +++ head/devel/fastcrc/pkg-plist (revision 297078) @@ -1,6 +1,6 @@ bin/fc include/fastcrc.h lib/libfcrc.so lib/libfcrc.so.1 -share/doc/fastcrc/index.html -@dirrm share/doc/fastcrc +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/devel/fastcrc/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property