View | Details | Raw Unified | Return to bug 191376 | Differences between
and this patch

Collapse All | Expand All

(-)science/linsmith/Makefile (-9 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/science/linsmith/Makefile 351411 2014-04-16 18:28:47Z zeising $
2
# $FreeBSD: head/science/linsmith/Makefile 351411 2014-04-16 18:28:47Z zeising $
3
3
4
PORTNAME=	linsmith
4
PORTNAME=	linsmith
5
PORTVERSION=	0.99.26
5
PORTVERSION=	0.99.28
6
PORTREVISION=	1
7
CATEGORIES=	science hamradio
6
CATEGORIES=	science hamradio
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
8
Lines 19-35 Link Here
19
CPPFLAGS+=	-I${LOCALBASE}/include
18
CPPFLAGS+=	-I${LOCALBASE}/include
20
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
21
20
22
NO_STAGE=	yes
23
post-patch:
21
post-patch:
24
	@${REINPLACE_CMD} -e \
22
	@${REINPLACE_CMD} -e \
25
		'/^Icon/s|/usr/share|${PREFIX}/share|' \
23
		'/^Categories/s|Application;|| ; \
24
		 /^Icon/s|/usr/share|${PREFIX}/share|' \
26
		${WRKSRC}/linsmith.desktop
25
		${WRKSRC}/linsmith.desktop
27
26
28
post-install:
27
post-install:
29
	@${MKDIR} ${DESKTOPDIR}
28
	(cd ${WRKSRC} && ${INSTALL_DATA} linsmith.desktop \
30
	(cd ${WRKSRC} \
29
		${STAGEDIR}${PREFIX}/share/applications)
31
		&& ${INSTALL_DATA} linsmith.desktop ${DESKTOPDIR})
30
	(cd ${WRKSRC} && ${INSTALL_DATA} linsmith_icon.xpm \
32
	(cd ${WRKSRC} \
31
		${STAGEDIR}${PREFIX}/share/pixmaps/linsmith)
33
		&& ${INSTALL_DATA} linsmith_icon.xpm ${PREFIX}/share/pixmaps)
34
32
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)science/linsmith/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (linsmith-0.99.26.tar.gz) = 013930ee1e02e0ddf2989b39826ef6d4920a7a488e5b0356241edb1a5d0b743b
1
SHA256 (linsmith-0.99.28.tar.gz) = 22196edb6e4c72a45a3d0a794a0bb140ab5932a5e59a40e2e9ee143b53c4235d
2
SIZE (linsmith-0.99.26.tar.gz) = 1130714
2
SIZE (linsmith-0.99.28.tar.gz) = 1132315
(-)science/linsmith/pkg-descr (-19 / +4 lines)
Lines 1-21 Link Here
1
linSmith is a Smith Charting program, mainly designed for educational use.
1
linSmith is a Smith Charting program. You can enter either discrete
2
As such, there is an emphasis on capabilities that improve the 'showing the
2
components or transmission lines, see the results on screen and/or
3
effect of'-style of operation.
3
generate Postscript output. Component values can be changed numerically
4
4
or using scrollbars.
5
It's main features are:
6
   * Definition of multiple load impedances (at different frequencies)
7
   * Addition of discrete (L, C, parallel and series LC, and transformer) and
8
     line components (open and closed stubs, line segments)
9
   * Connection in series and parallel
10
   * Easy experimentation with values using scrollbars
11
   * A 'virtual' component switches from impedance to admittance to help
12
     explaining (or understanding) parallel components
13
   * The chart works in real impedances (not normalized ones)
14
   * Direct view of the result on the screen
15
   * Ability to generate publication quality Postscript output
16
   * A 'log' file with textual results at each intermediate step
17
   * Load and circuit configuration is stored separately, permitting several
18
     solutions without re-defining the other (this may actually change to
19
     single files - I'm not quite convinced here) 
20
5
21
WWW: http://jcoppens.com/soft/linsmith/index.en.php
6
WWW: http://jcoppens.com/soft/linsmith/index.en.php
(-)science/linsmith/pkg-plist (-1 / +1 lines)
Lines 21-27 Link Here
21
share/locale/it/LC_MESSAGES/linsmith.mo
21
share/locale/it/LC_MESSAGES/linsmith.mo
22
share/locale/sv/LC_MESSAGES/linsmith.mo
22
share/locale/sv/LC_MESSAGES/linsmith.mo
23
share/locale/zh/LC_MESSAGES/linsmith.mo
23
share/locale/zh/LC_MESSAGES/linsmith.mo
24
share/pixmaps/linsmith_icon.xpm
24
share/pixmaps/linsmith/linsmith_icon.xpm
25
share/pixmaps/linsmith/smith4.png
25
share/pixmaps/linsmith/smith4.png
26
share/pixmaps/linsmith/smithent.png
26
share/pixmaps/linsmith/smithent.png
27
@dirrm share/pixmaps/linsmith
27
@dirrm share/pixmaps/linsmith

Return to bug 191376