aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fastcrc/Makefile
blob: dee5d7b4c0dc30876e585fa4667a2b01b503acdb (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
35
36
# New ports collection makefile for:    fastcrc
# Date created:             27 April 1999
# Whom:                 G. Adam Stanislav <adam@whizkidtech.net>
#
# $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 <bsd.port.pre.mk>

.if ${OSVERSION} >= 900035
BROKEN=     Does not compile on recent FreeBSD-9
.endif

do-install:
    ${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

.include <bsd.port.post.mk>