aboutsummaryrefslogtreecommitdiffstats
path: root/security/bsdsfv/Makefile
blob: 0f3d082e2755448522bcda1e3f17cd86cf693495 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   bsdsfv
PORTVERSION=    1.18
CATEGORIES= security
MASTER_SITES=   SF

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Flexible SFV checksum utility

WRKSRC=     ${WRKDIR}/${PORTNAME}
PLIST_FILES=    bin/bsdsfv
PORTDOCS=   MANUAL

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|^\(INSTALL_PREFIX =\).*$$|\1 ${STAGEDIR}${PREFIX}|g' \
        ${WRKSRC}/Makefile

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

.include <bsd.port.mk>