blob: 0966e33dfdf47ce5364840e022f8e1411fc0630e (
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
|
# New ports collection makefile for: pspp
# Date created: 22 Apr 2000
# Whom: Andrew L. Neporada <andrew@chg.ru>
#
# $FreeBSD$
#
PORTNAME= pspp
PORTVERSION= 0.6.2
PORTREVISION= 9
CATEGORIES= math
MASTER_SITES= GNU
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Program for statistical analysis of sampled data
LIB_DEPENDS= plot.4:${PORTSDIR}/graphics/plotutils \
gslcblas.0:${PORTSDIR}/math/gsl
OPTIONS= GUI "Build the PSPPIRE gui" off \
PGSQL "Compile in PostgreSQL capability" off
USE_GNOME= libxml2
USE_PERL5_BUILD=yes
USE_ICONV= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
INFO= pspp pspp-dev
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(WITH_GUI)
LIB_DEPENDS+= gladeui-1:${PORTSDIR}/devel/glade3
RUN_DEPENDS+= yelp:${PORTSDIR}/x11/yelp
USE_GNOME+= libglade2
CONFIGURE_ARGS+= --with-gui-tools
PLIST_SUB+= GUI=""
.else
CONFIGURE_ARGS+= --without-gui
PLIST_SUB+= GUI="@comment "
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
.else
CONFIGURE_ARGS+= --without-libpq
.endif
post-patch:
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-exec-local||' \
${WRKSRC}/gl/Makefile.in
post-install:
@${TOUCH} ${PREFIX}/lib/pspp/.keep_me
.include <bsd.port.post.mk>
|