- Install developer tools if WITH_GUI is enabled
- Fix handling empty directory PR: 130469 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
d18ba92f13
commit
dd322097e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226059
2 changed files with 28 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue