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

PORTNAME=   pure-sfv
PORTVERSION=    0.3
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}_src

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

LICENSE=    GPLv2

USES=       gmake

WRKSRC=     ${WRKDIR}

PLIST_FILES=    bin/pure-sfv
PORTDOCS=   ReadMe.txt

OPTIONS_DEFINE= DOCS

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>