summaryrefslogtreecommitdiff
path: root/math/gnumeric2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gnumeric2/Makefile')
-rw-r--r--math/gnumeric2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile
index 56473b48f7d4..7009f45e6623 100644
--- a/math/gnumeric2/Makefile
+++ b/math/gnumeric2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnumeric
-PORTVERSION= 0.99.1
+PORTVERSION= 1.0.0
CATEGORIES?= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnumeric
@@ -41,4 +41,9 @@ pre-patch:
@find ${WRKSRC}/plugins/excel -name "*.[ch]" | xargs ${PERL} -pi -e \
's|iconv\.h|giconv.h|g'
+post-install:
+.for dir in share/gnome lib
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
+.endfor
+
.include <bsd.port.mk>