blob: 726979e3f5b8756399cdb5b3fe6a212613a4c2c1 (
plain)
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
|
# Created by: Andrew L. Neporada <andrew@chg.ru>
PORTNAME= pspp
PORTVERSION= 1.4.1
CATEGORIES= math
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Program for statistical analysis of sampled data
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= texinfo>0:print/texinfo
LIB_DEPENDS= libgslcblas.so:math/gsl
USES= cpe charsetfix gettext-tools gmake gnome iconv localbase \
libtool perl5 pkgconfig python:3.7+,build readline
CPE_VENDOR= gnu
USE_GNOME= libxml2
USE_PERL5= build
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lxml2
MAKE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" \
XMLLINT="${LOCALBASE}/bin/xmllint"
INSTALL_TARGET= install-strip
TEST_TARGET= check
PLIST_SUB= VERSION="${PORTVERSION}"
PORTDOCS= AUTHORS ChangeLog NEWS ONEWS README THANKS
PORTEXAMPLES= *
INFO= pspp pspp-dev
OPTIONS_DEFINE= DOCS EXAMPLES GUI NLS PGSQL
OPTIONS_DEFAULT= GUI
OPTIONS_SUB= yes
GUI_LIB_DEPENDS= libgladeui-2.so:devel/glade \
libspread-sheet-widget.so:devel/spread-sheet-widget
GUI_USES= desktop-file-utils shared-mime-info
GUI_USE= gnome=cairo,gtk30,gtksourceview3,pango pkgconfig
GUI_VARS= INSTALLS_ICONS=yes
GUI_CONFIGURE_WITH= cairo gui
GUI_INSTALL_TARGET= install-icons install-ext-icons
NLS_BUILD_DEPENDS= appstream-glib>0:devel/appstream-glib
NLS_USES= gettext-runtime
NLS_CONFIGURE_OFF= --disable-nls
NLS_MAKE_ARGS_OFF= POFILES=""
PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= libpq
pre-configure-GUI-off:
${REINPLACE_CMD} -e '/language=Glade/d;/j src\/ui\/gui/d' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
"${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|