2000-05-13 16:15:19 +02:00
|
|
|
# New ports collection makefile for: pspp
|
|
|
|
# Date created: 22 Apr 2000
|
|
|
|
# Whom: Andrew L. Neporada <andrew@chg.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pspp
|
2008-11-05 23:53:57 +01:00
|
|
|
PORTVERSION= 0.6.1
|
2009-01-14 10:12:01 +01:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2002-11-18 04:48:10 +01:00
|
|
|
MAINTAINER= ports@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 \
|
|
|
|
gslcblas.0:${PORTSDIR}/math/gsl
|
|
|
|
|
2008-06-23 12:51:35 +02:00
|
|
|
OPTIONS= GUI "Build the PSPPIRE gui" off \
|
|
|
|
PGSQL "Compile in PostgreSQL capability" off
|
|
|
|
|
2009-01-14 10:12:01 +01:00
|
|
|
USE_GNOME= libxml2
|
2005-12-16 08:54:48 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2008-06-23 12:51:35 +02:00
|
|
|
USE_ICONV= yes
|
2008-04-25 17:48:11 +02:00
|
|
|
USE_GMAKE= yes
|
2008-06-23 12:51:35 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
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
|
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
|
|
|
|
2008-06-23 12:51:35 +02:00
|
|
|
.if defined(WITH_PGSQL)
|
|
|
|
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
|
|
|
|
|
2008-06-23 12:51:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|