aboutsummaryrefslogtreecommitdiffstats
path: root/net/gspoof/Makefile
blob: 4ac16c22033e74ceb1ce6a1374982ad86b930406 (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
# ex:ts=8
# Ports collection makefile for:    gspoof
# Date created:         Jan 29, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   gspoof
PORTVERSION=    2.1.1
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Console/GTK+ TCP/IP Packets Forger

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel

USE_REINPLACE=  yes
USE_GNOMENG=    yes
USE_GNOME=  gtk12
WRKSRC=     ${WRKDIR}/${PORTNAME}
ALL_TARGET= gtk
CFLAGS+=    -I${LOCALBASE}/include -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e "s|gtk-config|${GTK_CONFIG}|g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gspoof ${PREFIX}/bin

.include <bsd.port.mk>