summaryrefslogtreecommitdiff
path: root/net/gspoof/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-30 17:04:34 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-30 17:04:34 +0000
commit036a436cd6ea4825d910eb9e0dd8b6179c2366c1 (patch)
tree4281f4b86093544e17203686b4e38f2aff408ec2 /net/gspoof/Makefile
parent- Update to version 0.9.1 (diff)
- Update to version 3.0
PR: 56195 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=88085
Diffstat (limited to 'net/gspoof/Makefile')
-rw-r--r--net/gspoof/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/net/gspoof/Makefile b/net/gspoof/Makefile
index 58796f3f5b11..4295fb3d5042 100644
--- a/net/gspoof/Makefile
+++ b/net/gspoof/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= gspoof
-PORTVERSION= 2.1.1
-PORTREVISION= 1
+PORTVERSION= 3.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,19 +17,23 @@ COMMENT= Console/GTK+ TCP/IP Packets Forger
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-USE_GETOPT_LONG= yes
-USE_GNOME= gtk12
+USE_GNOME= gnometarget gtk20
USE_REINPLACE= yes
-MAKE_ARGS= CC="${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
-ALL_TARGET= gtk
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
post-patch:
- @${REINPLACE_CMD} -e "s|gtk-config|\$${GTK_CONFIG}|g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local/lib|${LOCALBASE}/lib|g ; \
+ s|/usr/local/include|${LOCALBASE}/include|g ; \
+ s|-Wall -O2|$${CFLAGS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-Wall -O2|@CFLAGS@|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g ; \
+ s|/usr/share|${X11BASE}/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}