Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 03:02:10 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130469: Update port: math/pspp
Message-ID:  <20090113030210.c785640f.tkato432@yahoo.com>
Resent-Message-ID: <200901121840.n0CIe8nx037015@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130469
>Category:       ports
>Synopsis:       Update port: math/pspp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 18:40:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Install developer tools if WITH_GUI is enabled
- Fix handling empty directory

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/pspp/Makefile math/pspp/Makefile
--- /usr/ports/math/pspp/Makefile	2008-11-06 11:09:38.000000000 +0900
+++ math/pspp/Makefile	2008-11-06 11:16:48.000000000 +0900
@@ -7,6 +7,7 @@
 
 PORTNAME=	pspp
 PORTVERSION=	0.6.1
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	GNU
 
@@ -19,7 +20,7 @@
 OPTIONS=	GUI "Build the PSPPIRE gui" off \
 		PGSQL "Compile in PostgreSQL capability" off
 
-USE_GNOME=	gnometarget libxml2
+USE_GNOME=	libxml2
 USE_PERL5_BUILD=yes
 USE_ICONV=	yes
 USE_GMAKE=	yes
@@ -45,6 +46,7 @@
 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
@@ -57,4 +59,11 @@
 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>
diff -urN /usr/ports/math/pspp/pkg-plist math/pspp/pkg-plist
--- /usr/ports/math/pspp/pkg-plist	2008-11-06 11:09:39.000000000 +0900
+++ math/pspp/pkg-plist	2008-10-25 07:20:43.000000000 +0900
@@ -13,6 +13,11 @@
 etc/pspp/psfonts/Times-BoldItalic.afm
 etc/pspp/psfonts/Times-Italic.afm
 etc/pspp/psfonts/Times-Roman.afm
+%%GUI%%lib/glade3/modules/libglade-psppire.a
+%%GUI%%lib/glade3/modules/libglade-psppire.la
+%%GUI%%lib/glade3/modules/libglade-psppire.so
+%%GUI%%lib/glade3/modules/libglade-psppire.so.0
+lib/pspp/.keep_me
 %%GUI%%lib/pspp/libpsppire.a
 %%GUI%%lib/pspp/libpsppire.la
 %%GUI%%lib/pspp/libpsppire.so
@@ -21,6 +26,19 @@
 %%GUI%%lib/pspp/libpsppwidgets.la
 %%GUI%%lib/pspp/libpsppwidgets.so
 %%GUI%%lib/pspp/libpsppwidgets.so.0
+%%GUI%%share/glade3/catalogs/psppire.xml
+%%GUI%%share/glade3/pixmaps/16x16/psppire-acr.png
+%%GUI%%share/glade3/pixmaps/16x16/psppire-dialog.png
+%%GUI%%share/glade3/pixmaps/16x16/psppire-hbuttonbox.png
+%%GUI%%share/glade3/pixmaps/16x16/psppire-keypad.png
+%%GUI%%share/glade3/pixmaps/16x16/psppire-selector.png
+%%GUI%%share/glade3/pixmaps/16x16/psppire-vbuttonbox.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-acr.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-dialog.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-hbuttonbox.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-keypad.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-selector.png
+%%GUI%%share/glade3/pixmaps/22x22/psppire-vbuttonbox.png
 %%NLS%%share/locale/en_GB/LC_MESSAGES/pspp.mo
 %%GUI%%%%DATADIR%%/crosstabs.glade
 %%GUI%%%%DATADIR%%/data-editor.glade
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090113030210.c785640f.tkato432>