aboutsummaryrefslogtreecommitdiffstats
path: root/security/pure-sfv/Makefile
blob: 2e663583864bb2a59f537c95620fdb855b69b18e (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
39
# 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=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}_src

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

LICENSE=    GPLv2

USE_GMAKE=  yes
MAKE_JOBS_SAFE= 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>