Update security/strongswan to version 5.2.0_1
[dports.git] / security / gtk-knocker / Makefile
1 # Created by: Patrick Li <pat@databits.net>
2 # $FreeBSD$
3
4 PORTNAME=       knocker
5 PORTVERSION=    0.6.6
6 PORTREVISION=   4
7 CATEGORIES=     security net x11
8 MASTER_SITES=   SF/${PORTNAME}/gtk-${PORTNAME}/${PORTVERSION}
9 PKGNAMEPREFIX=  gtk-
10 DISTNAME=       gtk-${PORTNAME}-${PORTVERSION}
11
12 MAINTAINER=     ports@FreeBSD.org
13 COMMENT=        Simple and easy to use TCP only port scanner (GTK+ version)
14
15 GNU_CONFIGURE=  yes
16 USE_XORG=       x11 xpm
17 USE_GNOME=      gtk12
18 .include <bsd.port.pre.mk>
19
20 post-patch:
21 .for file in src/gtk_support.c src/gtk_callbacks.c
22         @${REINPLACE_CMD} -e 's|"\.\./pixmaps"|PACKAGE_DATA_DIR "/pixmaps"|g' \
23                 ${WRKSRC}/${file}
24 .endfor
25 .for file in src/license.h
26         @${REINPLACE_CMD} -e 's|$$|\\n\\|g ; \
27                  s|^".*|";|g' ${WRKSRC}/${file}
28 .endfor
29
30 post-install:
31         @${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${STAGEDIR}${PREFIX}/man/man1
32
33 .include <bsd.port.post.mk>