blob: 7d20ffb860893f152d7917c2d6ce1b48b85ee55a (
plain)
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
|
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= knocker
PORTVERSION= 0.6.6
PORTREVISION= 6
CATEGORIES= security net x11
MASTER_SITES= SF/${PORTNAME}/gtk-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= gtk-
DISTNAME= gtk-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and easy to use TCP only port scanner (GTK+ version)
GNU_CONFIGURE= yes
USE_XORG= x11 xpm
USE_GNOME= gtk12
.include <bsd.port.pre.mk>
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
post-install:
@${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.post.mk>
|