svn commit: r347329 - in head/science/gchemutils: . files
Koop Mast
kwm at FreeBSD.org
Thu Mar 6 22:20:07 UTC 2014
Author: kwm
Date: Thu Mar 6 22:20:06 2014
New Revision: 347329
URL: http://svnweb.freebsd.org/changeset/ports/347329
QAT: https://qat.redports.org/buildarchive/r347329/
Log:
Update to 0.14.7.
Stagify.
Use new lib_depend syntax.
Add USES=libtool
Deleted:
head/science/gchemutils/files/patch-libs_gcu_application.cc
head/science/gchemutils/files/patch-libs_gcugtk_spectrumdoc.cc
Modified:
head/science/gchemutils/Makefile
head/science/gchemutils/distinfo
head/science/gchemutils/pkg-plist
Modified: head/science/gchemutils/Makefile
==============================================================================
--- head/science/gchemutils/Makefile Thu Mar 6 21:59:01 2014 (r347328)
+++ head/science/gchemutils/Makefile Thu Mar 6 22:20:06 2014 (r347329)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gchemutils
-PORTVERSION= 0.14.2
+PORTVERSION= 0.14.7
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION:R}
@@ -13,9 +13,9 @@ COMMENT= C++ classes and Gtk3 widgets re
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:${PORTSDIR}/science/bodr \
${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
-LIB_DEPENDS= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext \
- openbabel:${PORTSDIR}/science/openbabel \
- goffice-0.10:${PORTSDIR}/devel/goffice010
+LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \
+ libopenbabel.so:${PORTSDIR}/science/openbabel \
+ libgoffice-0.10.so:${PORTSDIR}/devel/goffice010
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:${PORTSDIR}/science/bodr \
${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
@@ -24,7 +24,8 @@ PORTSCOUT= limitw:1,even
USE_XZ= yes
USE_XORG= x11
USE_GNOME= gnomedocutils gtk30 intlhack libgsf libxml2
-USES= desktop-file-utils gettext pathfix shared-mime-info gmake pkgconfig
+USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
+ shared-mime-info
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -37,15 +38,13 @@ GLIB_SCHEMAS= org.gnome.gchemutils.cryst
org.gnome.gchemutils.paint.gschema.xml \
org.gnome.gchemutils.paint.plugins.arrows.gschema.xml
-MAN1= gchem3d.1 gchemcalc.1 gchempaint.1 gchemtable.1 gcrystal.1 \
- gspectrum.1
+VER= ${PORTVERSION:R}
+PLIST_SUB= VER=${VER} GOFFICE=0.10 VERSION=${PORTVERSION}
-PLIST_SUB= VER=0.14 GOFFICE=0.10
-
-OPTIONS_DEFINE= XUL
+OPTIONS_DEFINE= GNUMERIC XUL
+GNUMERIC_DESC= Build gnumeric plugin
XUL_DESC= Build browser plugin (requires libxul)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXUL}
@@ -58,7 +57,18 @@ CONFIGURE_ARGS+=--disable-mozilla-plugin
PLIST_SUB+= XUL="@comment "
.endif
+.if ${PORT_OPTIONS:MGNUMERIC} || exists(${LOCALBASE}/lib/libspreadsheet.so)
+LIB_DEPENDS+= libspreadsheet.so:${PORTSDIR}/math/gnumeric
+PLIST_SUB+= GNUMERIC=""
+.else
+PLIST_SUB+= GNUMERIC="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/libs/gcp/Makefile.in
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*/*/*/*/*.so
+
.include <bsd.port.mk>
Modified: head/science/gchemutils/distinfo
==============================================================================
--- head/science/gchemutils/distinfo Thu Mar 6 21:59:01 2014 (r347328)
+++ head/science/gchemutils/distinfo Thu Mar 6 22:20:06 2014 (r347329)
@@ -1,2 +1,2 @@
-SHA256 (gnome-chemistry-utils-0.14.2.tar.xz) = 85462b95b9d72e95b34ebaa0d07dc101595adf2159e480e3483ab8f440028dfe
-SIZE (gnome-chemistry-utils-0.14.2.tar.xz) = 5572856
+SHA256 (gnome-chemistry-utils-0.14.7.tar.xz) = 5679e20f5675adb8de58e8a537cbe9f4346f43188b1317edd8e6039ab68e94a3
+SIZE (gnome-chemistry-utils-0.14.7.tar.xz) = 5779532
Modified: head/science/gchemutils/pkg-plist
==============================================================================
--- head/science/gchemutils/pkg-plist Thu Mar 6 21:59:01 2014 (r347328)
+++ head/science/gchemutils/pkg-plist Thu Mar 6 22:20:06 2014 (r347329)
@@ -44,25 +44,39 @@ lib/gchemutils/%%VER%%/plugins/paint/tex
lib/goffice/%%GOFFICE%%/plugins/gchemutils/gchemutils.la
lib/goffice/%%GOFFICE%%/plugins/gchemutils/gchemutils.so
lib/goffice/%%GOFFICE%%/plugins/gchemutils/plugin.xml
+%%GNUMERIC%%lib/gnumeric/1.12/plugins/gchemutils/plugin.la
+%%GNUMERIC%%lib/gnumeric/1.12/plugins/gchemutils/plugin.so
+%%GNUMERIC%%lib/gnumeric/1.12/plugins/gchemutils/plugin.xml
lib/libgccv-%%VER%%.la
lib/libgccv-%%VER%%.so
-lib/libgccv-%%VER%%.so.14
+lib/libgccv-%%VER%%.so.0
+lib/libgccv-%%VER%%.so.%%VERSION%%
lib/libgcugtk-%%VER%%.la
lib/libgcugtk-%%VER%%.so
-lib/libgcugtk-%%VER%%.so.14
+lib/libgcugtk-%%VER%%.so.0
+lib/libgcugtk-%%VER%%.so.%%VERSION%%
lib/libgcp-%%VER%%.la
lib/libgcp-%%VER%%.so
-lib/libgcp-%%VER%%.so.14
+lib/libgcp-%%VER%%.so.0
+lib/libgcp-%%VER%%.so.%%VERSION%%
lib/libgcrystal-%%VER%%.la
lib/libgcrystal-%%VER%%.so
-lib/libgcrystal-%%VER%%.so.14
+lib/libgcrystal-%%VER%%.so.0
+lib/libgcrystal-%%VER%%.so.%%VERSION%%
lib/libgcu-%%VER%%.la
lib/libgcu-%%VER%%.so
-lib/libgcu-%%VER%%.so.14
+lib/libgcu-%%VER%%.so.0
+lib/libgcu-%%VER%%.so.%%VERSION%%
%%XUL%%lib/xulrunner/plugins/libmozgcu.la
%%XUL%%lib/xulrunner/plugins/libmozgcu.so
%%XUL%%libexec/chem-viewer
libexec/babelserver
+man/man1/gchem3d.1.gz
+man/man1/gchemcalc.1.gz
+man/man1/gchempaint.1.gz
+man/man1/gchemtable.1.gz
+man/man1/gcrystal.1.gz
+man/man1/gspectrum.1.gz
share/applications/gchem3d-%%VER%%.desktop
share/applications/gchemcalc-%%VER%%.desktop
share/applications/gcrystal-%%VER%%.desktop
@@ -355,7 +369,6 @@ share/mime/packages/gchemutils.xml
@dirrm share/gnome/help/gchem3d-%%VER%%/C/figures
@dirrm share/gnome/help/gchem3d-%%VER%%/C
@dirrm share/gnome/help/gchem3d-%%VER%%
- at dirrmtry share/mime/chemical
@dirrmtry share/mimelnk/application
@dirrmtry share/mimelnk
%%XUL%%@dirrmtry lib/xulrunner/plugins
More information about the svn-ports-all
mailing list