blob: 5878076206d16415b4140ea02214ed1b8f7606ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Created by: Yukihiro Nakai <Nakai@technologist.com>
# $FreeBSD$
PORTNAME= gnumeric
PORTVERSION= 1.12.28
CATEGORIES= math gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME spreadsheet program
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= rarian-sk-config:textproc/rarian
LIB_DEPENDS= libgoffice-0.10.so:devel/goffice010 \
libpsiconv.so:converters/psiconv
RUN_DEPENDS= rarian-sk-config:textproc/rarian
USES= cpe desktop-file-utils gettext gmake libtool pathfix pkgconfig \
python:2 shebangfix tar:xz
USE_GNOME= intlhack libgsf pygobject3
INSTALLS_OMF= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-compile-warnings \
--without-paradox \
--enable-introspection
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
CPE_VENDOR= gnome
GLIB_SCHEMAS= org.gnome.gnumeric.dialogs.gschema.xml \
org.gnome.gnumeric.gschema.xml \
org.gnome.gnumeric.plugin.gschema.xml
SHEBANG_FILES= plugins/perl-func/perl_func.pl
PLIST_SUB= VERSION=${PORTVERSION} \
GOFFICE=0.10 \
SHORT_VER=${PORTVERSION:R}
OPTIONS_SUB= yes
OPTIONS_DEFINE= PERL GDA
OPTIONS_DEFAULT=PERL
GDA_DESC= Gnome Database Access plugin
PERL_DESC= Support Perl as extension language
PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
GDA_CONFIGURE_WITH= gda
GDA_USE= GNOME=libgda5-ui
post-patch:
@${REINPLACE_CMD} -e 's|^GETTEXT_PACKAGE=gnumeric-$${VERSION}|GETTEXT_PACKAGE=gnumeric|g' \
${WRKSRC}/configure
post-install:
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d \
${PREFIX}/${dir}/gnumeric -f ${STAGEDIR}${PREFIX}/lib/gnumeric/${PORTVERSION}
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d \
${PREFIX}/${dir}/gnumeric -f ${STAGEDIR}${PREFIX}/lib/gnumeric/${PORTVERSION}
.include <bsd.port.mk>
|