aboutsummaryrefslogtreecommitdiffstats
path: root/security/fakebo/Makefile
blob: 3e05fd3586c1d12feba830131191b6d6828cbaf3 (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
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$

PORTNAME=   fakebo
PORTVERSION=    0.4.2.1
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fake BackOrifice client emulator

LICENSE=    GPLv2 # (or later)
LICENSE_FILE=   ${WRKSRC}/COPYING

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}

USES=       autoreconf
GNU_CONFIGURE=  yes

OPTIONS_DEFINE= DOCS

post-extract:
    @${FIND} ${WRKSRC} -type l -delete

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fakebo ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/fakebo.1 ${STAGEDIR}${MANPREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/fakebo.conf.dist ${STAGEDIR}${PREFIX}/etc/fakebo.conf.sample
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/custom.replies ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>