[patch] Moving LibreOffice Version to an .mk File
Gabor PALI
pgj at FreeBSD.org
Sun Jul 31 04:13:40 UTC 2011
Hi,
I would need a separate .mk file under editors/libreoffice where I could
keep the version number for LibreOffice. This way I could share it with
editors/libreoffice-l10n [1].
I attach a patch for this, let me know if there any problems with it.
By the way: I have talked with Andras Timar from the LibreOffice team on
Friday, and he said currently there is no easy way to build language and
help files from source directly (only as part of the complete build).
This means that my solution (that I considered ugly) seems to be the
only one at the moment. So shall I commit the libreoffice-l10n ports to
the ports tree as they are? What do you think?
[1]
https://github.com/bapt/libreoffice-ports/tree/master/editors/libreoffice-l10n
-------------- next part --------------
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 9b6d26a..a0f4a3f 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libreoffice
-PORTVERSION= 3.3.3
+PORTVERSION= ${LIBO_VERSION}
PORTREVISION= 2
LOVERSION= ${PORTVERSION}.1
CATEGORIES= editors
@@ -414,3 +414,4 @@ post-install:
@${LOCALBASE}/bin/update-desktop-database 2>/dev/null || ${TRUE}
.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../editors/libreoffice/bsd.libreoffice.mk"
diff --git a/editors/libreoffice/bsd.libreoffice.mk b/editors/libreoffice/bsd.libreoffice.mk
new file mode 100644
index 0000000..d1a0541
--- /dev/null
+++ b/editors/libreoffice/bsd.libreoffice.mk
@@ -0,0 +1,9 @@
+#
+# $FreeBSD$
+#
+# bsd.libreoffice.mk -- Support for ports based on LibreOffice.
+#
+# Maintained by: office at FreeBSD.org
+#
+
+LIBO_VERSION= 3.3.3
More information about the freebsd-office
mailing list