summaryrefslogtreecommitdiff
path: root/misc/swissfileknife/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/swissfileknife/Makefile')
-rw-r--r--misc/swissfileknife/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/swissfileknife/Makefile b/misc/swissfileknife/Makefile
index 6abe7935a5bd..4d82bd18e26c 100644
--- a/misc/swissfileknife/Makefile
+++ b/misc/swissfileknife/Makefile
@@ -1,5 +1,5 @@
PORTNAME= swissfileknife
-PORTVERSION= 1.9.8.2
+PORTVERSION= 1.9.9.0
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}/1-${PORTNAME}/${PORTVERSION}
DISTNAME= sfk-${PORTVERSION:R}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CPPFLAGS+= -DVER_STR_OS=\\\"${OPSYS:tl}-${ARCH}\\\"
-PLIST_FILES= bin/sfk
+PLIST_FILES= bin/sfk ${DATADIR_REL}/mtk.tar.gz
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
@@ -28,6 +28,10 @@ post-patch:
@${REINPLACE_CMD} -e '/_STDINT_H/,+6d' ${WRKSRC}/sfkmatch.hpp
@${REINPLACE_CMD} -e 's,^ *register, ,' ${WRKSRC}/sfkpack.cpp
+post-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${TAR} czvf ${STAGEDIR}${DATADIR}/mtk.tar.gz -C ${WRKSRC} mtk
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}