aboutsummaryrefslogtreecommitdiffstats
path: root/security/pure-sfv/Makefile
blob: 81eb8e87d92078a0539c0f1629def62754775727 (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:    pure-sfv
# Date created:             26 Jul 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   pure-sfv
PORTVERSION=    0.3
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}_src

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Utility to test and create .sfv files

USE_GMAKE=  yes

WRKSRC=     ${WRKDIR}
PLIST_FILES=    bin/pure-sfv
PORTDOCS=   ReadMe.txt

post-patch:
    @${REINPLACE_CMD} -E 's/^(CFLAGS|CC)[ +=]*/\1?=/' \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

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

.include <bsd.port.mk>