blob: c856404d2f982b31925dbb76dd294e04b6d74328 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= fastcrc
PORTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= http://www.whizkidtech.redprince.net/fports/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast CRC routines
WWW= http://www.whizkidtech.redprince.net/fports/
BUILD_DEPENDS= nasm:devel/nasm
ONLY_FOR_ARCHS= i386
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|gcc|$${CC}| ; \
s@^LDOPT=.*@& -z notext@ ; \
/strip/d' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fc ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/libfcrc.so.1 ${STAGEDIR}${PREFIX}/lib
${LN} -fs libfcrc.so.1 ${STAGEDIR}${PREFIX}/lib/libfcrc.so
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|