mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
89b4379a17
With hat: portmgr
37 lines
898 B
Makefile
37 lines
898 B
Makefile
# 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)
|
|
|
|
DEPRECATED= Uses obsolete glib12
|
|
EXPIRATION_DATE= 2018-12-20
|
|
|
|
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>
|