freebsd-ports/security/gtk-knocker/Makefile

41 lines
952 B
Makefile
Raw Normal View History

# New ports collection makefile for: gtk-knocker
# Date created: Tue Jul 10 02:18:39 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# $FreeBSD$
#
PORTNAME= knocker
2002-03-31 08:42:30 +02:00
PORTVERSION= 0.6.6
PORTREVISION= 4
CATEGORIES= security net x11
MASTER_SITES= SF/${PORTNAME}/gtk-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= gtk-
DISTNAME= gtk-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple and easy to use TCP only port scanner (GTK+ version)
GNU_CONFIGURE= yes
USE_XORG= x11 xpm
USE_GNOME= gtk12
MAN1= gtk-knocker.1
2004-02-09 02:43:38 +01:00
.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
2004-02-09 02:43:38 +01:00
2002-03-31 08:42:30 +02:00
post-install:
@${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>