2013-03-29 20:33:41 +01:00
|
|
|
# Created by: Patrick Li <pat@databits.net>
|
2001-07-30 02:56:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= knocker
|
2002-03-31 08:42:30 +02:00
|
|
|
PORTVERSION= 0.6.6
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
2001-07-30 02:56:51 +02:00
|
|
|
CATEGORIES= security net x11
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/gtk-${PORTNAME}/${PORTVERSION}
|
2001-07-30 02:56:51 +02:00
|
|
|
PKGNAMEPREFIX= gtk-
|
|
|
|
DISTNAME= gtk-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2006-04-15 00:53:13 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-29 20:33:41 +01:00
|
|
|
COMMENT= Simple and easy to use TCP only port scanner (GTK+ version)
|
2001-07-30 02:56:51 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= x11 xpm
|
2002-09-01 17:18:25 +02:00
|
|
|
USE_GNOME= gtk12
|
2001-07-30 02:56:51 +02:00
|
|
|
|
|
|
|
MAN1= gtk-knocker.1
|
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2004-02-09 02:43:38 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-04-20 07:41:06 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in src/gtk_support.c src/gtk_callbacks.c
|
|
|
|
@${REINPLACE_CMD} -e 's|"\.\./pixmaps"|PACKAGE_DATA_DIR "/pixmaps"|g' \
|
|
|
|
${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
.for file in src/license.h
|
|
|
|
@${REINPLACE_CMD} -e 's|$$|\\n\\|g ; \
|
|
|
|
s|^".*|";|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2004-02-09 02:43:38 +01:00
|
|
|
|
2002-03-31 08:42:30 +02:00
|
|
|
post-install:
|
2006-04-20 07:41:06 +02:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${MANPREFIX}/man/man1
|
2002-03-31 08:42:30 +02:00
|
|
|
|
2004-02-09 02:43:38 +01:00
|
|
|
.include <bsd.port.post.mk>
|