aboutsummaryrefslogtreecommitdiffstats
path: root/security/cksfv/Makefile
blob: 81b93e97cb8fc1b4eac6e79fccc970c0fd2a9918 (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
37
38
# New ports collection makefile for:    cksfv
# Date created:             18 October 2000
# Whom:                 Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#

PORTNAME=   cksfv
PORTVERSION=    1.3.12
CATEGORIES= security
MASTER_SITES=   http://zakalwe.virtuaalipalvelin.net/~shd/foss/cksfv/files/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Create or manipulate Simple File Verification (SFV) checksum files

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --mandir=${PREFIX}/man --prefix=${PREFIX}

MAN1=       cksfv.1
PLIST_FILES=    bin/cksfv
PORTDOCS=   README ChangeLog

post-patch:
    @${REINPLACE_CMD} -e 's|^\(CC\)=|\1?=|' ${WRKSRC}/src/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>