aboutsummaryrefslogtreecommitdiffstats
path: root/net/queso/Makefile
blob: b411902a67c7d9725f7041455d66965e7ab4d6fd (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
# Created by: Wu Ching-hong <woju@freebsd.ee.ntu.edu.tw>
# $FreeBSD$

PORTNAME=   queso
PORTVERSION=    980922
PORTREVISION=   2
CATEGORIES= net security
MASTER_SITES=   PACKETSTORM/UNIX/scanners

MAINTAINER= ports@FreeBSD.org
COMMENT=    Determine the remote OS using simple TCP packets

LICENSE=    GPLv2

OPTIONS_DEFINE= DOCS

GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e \
        's|-O2 -pipe|| ; \
         s|^LDFLAGS|#LDFLAGS|' ${WRKSRC}/Makefile.in
    @${LN} -sf queso.conf ${WRKSRC}/queso.conf.sample

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/queso ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/queso.conf.sample ${STAGEDIR}${PREFIX}/etc
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>