aboutsummaryrefslogtreecommitdiffstats
path: root/security/bsdsfv/Makefile
blob: e156e8f30252f2f4e3c7b50c00e6bfc0be4083b2 (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
# New ports collection makefile for:    bsdsfv
# Date created:             26 Jul 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   bsdsfv
PORTVERSION=    1.18
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ehaupt@critical.ch
COMMENT=    A flexible SFV checksum utility

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

USE_REINPLACE=  yes

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

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>