aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2014-10-14 12:55:08 +0800
committershurd <shurd@FreeBSD.org>2014-10-14 12:55:08 +0800
commitec1cbdde92f00816f2a9194f84f539e8f86885c0 (patch)
tree895e39e45108db782439fef8bef2fbb4969d176e /science
parent73c942bff75641f1086033deb6c47bcf8565e1db (diff)
downloadfreebsd-ports-gnome-ec1cbdde92f00816f2a9194f84f539e8f86885c0.tar.gz
freebsd-ports-gnome-ec1cbdde92f00816f2a9194f84f539e8f86885c0.tar.zst
freebsd-ports-gnome-ec1cbdde92f00816f2a9194f84f539e8f86885c0.zip
- Update to 0.99.28
ChangeLog summary: Minor bug fixes, use the new g_object format to supress warnings about deprecated calls. PR: 191376 Submitted by: tkato432@yahoo.com (ie: Ports Fury)
Diffstat (limited to 'science')
-rw-r--r--science/linsmith/Makefile16
-rw-r--r--science/linsmith/distinfo4
-rw-r--r--science/linsmith/pkg-descr23
-rw-r--r--science/linsmith/pkg-plist4
4 files changed, 16 insertions, 31 deletions
diff --git a/science/linsmith/Makefile b/science/linsmith/Makefile
index 478aa3131bc2..774e8156b168 100644
--- a/science/linsmith/Makefile
+++ b/science/linsmith/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= linsmith
-PORTVERSION= 0.99.26
-PORTREVISION= 1
+PORTVERSION= 0.99.28
CATEGORIES= science hamradio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -18,17 +17,18 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR}
post-patch:
@${REINPLACE_CMD} -e \
- '/^Icon/s|/usr/share|${PREFIX}/share|' \
+ '/^Categories/s|Application;|| ; \
+ /^Icon/s|/usr/share|${PREFIX}/share|' \
${WRKSRC}/linsmith.desktop
post-install:
- @${MKDIR} ${STAGEDIR}${DESKTOPDIR}
- (cd ${WRKSRC} \
- && ${INSTALL_DATA} linsmith.desktop ${STAGEDIR}${DESKTOPDIR})
- (cd ${WRKSRC} \
- && ${INSTALL_DATA} linsmith_icon.xpm ${STAGEDIR}${PREFIX}/share/pixmaps)
+ (cd ${WRKSRC} && ${INSTALL_DATA} linsmith.desktop \
+ ${STAGEDIR}${DESKTOPDIR})
+ (cd ${WRKSRC} && ${INSTALL_DATA} linsmith_icon.xpm \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/linsmith)
.include <bsd.port.mk>
diff --git a/science/linsmith/distinfo b/science/linsmith/distinfo
index 988287ac78c9..fdd223373732 100644
--- a/science/linsmith/distinfo
+++ b/science/linsmith/distinfo
@@ -1,2 +1,2 @@
-SHA256 (linsmith-0.99.26.tar.gz) = 013930ee1e02e0ddf2989b39826ef6d4920a7a488e5b0356241edb1a5d0b743b
-SIZE (linsmith-0.99.26.tar.gz) = 1130714
+SHA256 (linsmith-0.99.28.tar.gz) = 22196edb6e4c72a45a3d0a794a0bb140ab5932a5e59a40e2e9ee143b53c4235d
+SIZE (linsmith-0.99.28.tar.gz) = 1132315
diff --git a/science/linsmith/pkg-descr b/science/linsmith/pkg-descr
index 23859a575709..263caaf0600f 100644
--- a/science/linsmith/pkg-descr
+++ b/science/linsmith/pkg-descr
@@ -1,21 +1,6 @@
-linSmith is a Smith Charting program, mainly designed for educational use.
-As such, there is an emphasis on capabilities that improve the 'showing the
-effect of'-style of operation.
-
-It's main features are:
- * Definition of multiple load impedances (at different frequencies)
- * Addition of discrete (L, C, parallel and series LC, and transformer) and
- line components (open and closed stubs, line segments)
- * Connection in series and parallel
- * Easy experimentation with values using scrollbars
- * A 'virtual' component switches from impedance to admittance to help
- explaining (or understanding) parallel components
- * The chart works in real impedances (not normalized ones)
- * Direct view of the result on the screen
- * Ability to generate publication quality Postscript output
- * A 'log' file with textual results at each intermediate step
- * Load and circuit configuration is stored separately, permitting several
- solutions without re-defining the other (this may actually change to
- single files - I'm not quite convinced here)
+linSmith is a Smith Charting program. You can enter either discrete
+components or transmission lines, see the results on screen and/or
+generate Postscript output. Component values can be changed numerically
+or using scrollbars.
WWW: http://jcoppens.com/soft/linsmith/index.en.php
diff --git a/science/linsmith/pkg-plist b/science/linsmith/pkg-plist
index ddcbb81c7b07..9ce1add1696c 100644
--- a/science/linsmith/pkg-plist
+++ b/science/linsmith/pkg-plist
@@ -1,5 +1,5 @@
bin/linsmith
-share/applications/linsmith.desktop
+%%DESKTOPDIR%%/linsmith.desktop
%%DATADIR%%/6-1.circ
%%DATADIR%%/6-4.circ
%%DATADIR%%/6-4.load
@@ -21,7 +21,7 @@ share/locale/hu/LC_MESSAGES/linsmith.mo
share/locale/it/LC_MESSAGES/linsmith.mo
share/locale/sv/LC_MESSAGES/linsmith.mo
share/locale/zh/LC_MESSAGES/linsmith.mo
-share/pixmaps/linsmith_icon.xpm
+share/pixmaps/linsmith/linsmith_icon.xpm
share/pixmaps/linsmith/smith4.png
share/pixmaps/linsmith/smithent.png
@dirrm share/pixmaps/linsmith