diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 09:12:01 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 09:12:01 +0000 |
commit | dd322097e132ceaba345662a0009032b150c96bb (patch) | |
tree | a4e4885b007dd6749223b5784dc0ea009d12fe00 /math/pspp | |
parent | - Update to 2.1.0 (diff) |
- Install developer tools if WITH_GUI is enabled
- Fix handling empty directory
PR: 130469
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=226059
Diffstat (limited to 'math/pspp')
-rw-r--r-- | math/pspp/Makefile | 11 | ||||
-rw-r--r-- | math/pspp/pkg-plist | 18 |
2 files changed, 28 insertions, 1 deletions
diff --git a/math/pspp/Makefile b/math/pspp/Makefile index c6671b1cb81b..db9aa794295c 100644 --- a/math/pspp/Makefile +++ b/math/pspp/Makefile @@ -7,6 +7,7 @@ PORTNAME= pspp PORTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= GNU @@ -19,7 +20,7 @@ LIB_DEPENDS= plot.4:${PORTSDIR}/graphics/plotutils \ 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 @@ PLIST_SUB+= NLS="" 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 @@ USE_PGSQL= yes 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 --git a/math/pspp/pkg-plist b/math/pspp/pkg-plist index 54c3f0a68bda..f119e6d3f50c 100644 --- a/math/pspp/pkg-plist +++ b/math/pspp/pkg-plist @@ -13,6 +13,11 @@ etc/pspp/psfonts/Times-Bold.afm 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 @@ etc/pspp/psfonts/Times-Roman.afm %%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 |