1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/math/pspp/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

70 lines
1.4 KiB
Makefile

# New ports collection makefile for: pspp
# Date created: 22 Apr 2000
# Whom: Andrew L. Neporada <andrew@chg.ru>
#
# $FreeBSD$
#
PORTNAME= pspp
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= GNU
MAINTAINER= ports@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:22
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
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>