aboutsummaryrefslogtreecommitdiffstats
path: root/security/rhash/Makefile
blob: 569d7b36d4c136c083175017ccc67be30c711c03 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   rhash
PORTVERSION=    1.3.3
CATEGORIES= security
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= danfe@FreeBSD.org
COMMENT=    Utility and library for computing and checking of file hashes

LICENSE=    MIT

USE_LDCONFIG=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PORTDOCS=   ChangeLog README

post-patch:
    @${REINPLACE_CMD} -e 's,/etc/,${PREFIX}&,' ${WRKSRC}/parse_cmdline.c

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>