aboutsummaryrefslogtreecommitdiffstats
path: root/security/hafiye/Makefile
blob: 6f24e494e0db74864b7662c374f76a90e107b8f4 (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
# ex:ts=8
# Ports collection makefile for:    hafiye
# Date Created:         Aug 14, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   hafiye
PORTVERSION=    1.0
CATEGORIES= security
MASTER_SITES=   http://www.enderunix.org/hafiye/ \
        http://www.acikkod.org/hafiye/

MAINTAINER= ports@FreeBSD.org

USE_REINPLACE=  yes
MAKE_ENV=   LDFLAGS="-lpcap"

post-patch:
    @${REINPLACE_CMD} -e "s|^CC|#CC|g ; s|^CFLAGS|#CFLAGS|g ; \
        s|^LDFLAGS|#LDFLAGS|g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/hafiye ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${CP} -R ${WRKSRC}/KB/* ${DATADIR}

.include <bsd.port.mk>