Index: head/science/linsmith/Makefile =================================================================== --- head/science/linsmith/Makefile (revision 370828) +++ head/science/linsmith/Makefile (revision 370829) @@ -1,34 +1,34 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= linsmith -PORTVERSION= 0.99.26 -PORTREVISION= 1 +PORTVERSION= 0.99.28 CATEGORIES= science hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hamradio@FreeBSD.org COMMENT= Smith charting program LICENSE= GPLv2 # (or later) USES= gettext pkgconfig USE_GNOME= libgnomeui libxml2 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 Index: head/science/linsmith/distinfo =================================================================== --- head/science/linsmith/distinfo (revision 370828) +++ head/science/linsmith/distinfo (revision 370829) @@ -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 Index: head/science/linsmith/pkg-descr =================================================================== --- head/science/linsmith/pkg-descr (revision 370828) +++ head/science/linsmith/pkg-descr (revision 370829) @@ -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 Index: head/science/linsmith/pkg-plist =================================================================== --- head/science/linsmith/pkg-plist (revision 370828) +++ head/science/linsmith/pkg-plist (revision 370829) @@ -1,28 +1,28 @@ bin/linsmith -share/applications/linsmith.desktop +%%DESKTOPDIR%%/linsmith.desktop %%DATADIR%%/6-1.circ %%DATADIR%%/6-4.circ %%DATADIR%%/6-4.load %%DATADIR%%/6-5.circ %%DATADIR%%/6-5.load %%DATADIR%%/6-6.circ %%DATADIR%%/6-6.load %%DATADIR%%/aaa.s2p %%DATADIR%%/conv0809 %%DATADIR%%/f_and_h.circ %%DATADIR%%/f_and_h.load %%DATADIR%%/f_and_h_rotate_to_load.circ %%DATADIR%%/mgf1302.s2p %%DATADIR%%/nb_40.load %%DATADIR%%/nbb300.s2p share/locale/de/LC_MESSAGES/linsmith.mo share/locale/es/LC_MESSAGES/linsmith.mo 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 @dirrm %%DATADIR%%