aboutsummaryrefslogtreecommitdiff
path: root/security/gtk-knocker
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-04-20 05:41:06 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-04-20 05:41:06 +0000
commit1a251b99c9a22d0b7bd04ec2dfe0e84dcead36cc (patch)
tree936e088ab0779265f416aeeda5d006a296153efa /security/gtk-knocker
parent40f8a2419dbef8b09fff914deaa7bddd056568bc (diff)
downloadports-1a251b99c9a22d0b7bd04ec2dfe0e84dcead36cc.tar.gz
ports-1a251b99c9a22d0b7bd04ec2dfe0e84dcead36cc.zip
Notes
Diffstat (limited to 'security/gtk-knocker')
-rw-r--r--security/gtk-knocker/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/security/gtk-knocker/Makefile b/security/gtk-knocker/Makefile
index 3c26f815d6c6..697da8fd7be2 100644
--- a/security/gtk-knocker/Makefile
+++ b/security/gtk-knocker/Makefile
@@ -26,11 +26,17 @@ MAN1= gtk-knocker.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502000
-BROKEN= "Does not compile"
-.endif
+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 ${PREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${MANPREFIX}/man/man1
.include <bsd.port.post.mk>