1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/gspoof/Makefile
Thomas Abthorpe 425474f5f5 - Reassign to the heap at maintainer's request
Approved by:	portmgr (implicit)
Feature safe:	yes
Redports:	ignore
2012-10-15 16:21:11 +00:00

42 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: gspoof
# Created by: ijliao
# $FreeBSD$
PORTNAME= gspoof
PORTVERSION= 3.2
PORTREVISION= 14
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Gspoof-3/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Console/GTK+ TCP/IP Packets Forger
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
USE_GNOME= gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall -O2|$${CFLAGS}|g; \
s|libnet-config|${LIBNET_CONFIG}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|-Wall -O2|@CFLAGS@|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g ; \
s|/usr/share|${LOCALBASE}/share|g' ${WRKSRC}/gtk.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gspoof ${PREFIX}/bin
@${MKDIR} ${DATADIR}/pixmap
${INSTALL_DATA} ${WRKSRC}/pixmap/icon.png ${DATADIR}/pixmap
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>