2013-03-05 18:07:43 +01:00
|
|
|
# Created by: Andrew L. Neporada <andrew@chg.ru>
|
2000-05-13 16:15:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pspp
|
2009-11-01 15:56:41 +01:00
|
|
|
PORTVERSION= 0.6.2
|
2013-08-26 18:06:37 +02:00
|
|
|
PORTREVISION= 10
|
2000-05-13 16:15:19 +02:00
|
|
|
CATEGORIES= math
|
2008-04-25 17:48:11 +02:00
|
|
|
MASTER_SITES= GNU
|
2000-05-13 16:15:19 +02:00
|
|
|
|
2009-11-01 15:56:41 +01:00
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Program for statistical analysis of sampled data
|
2000-05-13 16:15:19 +02:00
|
|
|
|
2005-09-07 00:26:43 +02:00
|
|
|
LIB_DEPENDS= plot.4:${PORTSDIR}/graphics/plotutils \
|
2013-08-26 18:06:37 +02:00
|
|
|
gslcblas:${PORTSDIR}/math/gsl
|
2005-09-07 00:26:43 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= GUI PGSQL
|
2008-06-23 12:51:35 +02:00
|
|
|
|
2009-01-14 10:12:01 +01:00
|
|
|
USE_GNOME= libxml2
|
2013-09-16 18:32:07 +02:00
|
|
|
USE_PERL5= build
|
|
|
|
USES= iconv gmake perl5
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2009-11-01 15:56:41 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-06-23 12:51:35 +02:00
|
|
|
|
|
|
|
INFO= pspp pspp-dev
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-06-23 12:51:35 +02:00
|
|
|
|
2013-09-20 22:55:04 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2008-06-23 12:51:35 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2008-06-23 12:51:35 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
2013-03-05 18:07:43 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2008-06-23 12:51:35 +02:00
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MGUI}
|
2008-06-23 12:51:35 +02:00
|
|
|
LIB_DEPENDS+= gladeui-1:${PORTSDIR}/devel/glade3
|
2008-11-05 23:53:57 +01:00
|
|
|
RUN_DEPENDS+= yelp:${PORTSDIR}/x11/yelp
|
2008-06-23 12:51:35 +02:00
|
|
|
USE_GNOME+= libglade2
|
2009-01-14 10:12:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gui-tools
|
2008-06-23 12:51:35 +02:00
|
|
|
PLIST_SUB+= GUI=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gui
|
|
|
|
PLIST_SUB+= GUI="@comment "
|
|
|
|
.endif
|
2005-09-07 00:26:43 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2008-06-23 12:51:35 +02:00
|
|
|
USE_PGSQL= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-libpq
|
|
|
|
.endif
|
2005-09-07 00:26:43 +02:00
|
|
|
|
2009-01-14 10:12:01 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-exec-local||' \
|
|
|
|
${WRKSRC}/gl/Makefile.in
|
|
|
|
post-install:
|
|
|
|
@${TOUCH} ${PREFIX}/lib/pspp/.keep_me
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.mk>
|