View | Details | Raw Unified | Return to bug 61953
Collapse All | Expand All

(-)cad/vipec/Makefile (-14 / +24 lines)
Lines 7-37 Link Here
7
#
7
#
8
8
9
PORTNAME=	vipec
9
PORTNAME=	vipec
10
PORTVERSION=	3.1.2b3
10
PORTVERSION=	3.2.0
11
CATEGORIES=	cad
11
CATEGORIES=	cad
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
DISTNAME=	ViPEC-${PORTVERSION}
14
DISTNAME=	ViPEC-${PORTVERSION}
15
15
16
MAINTAINER=	ports@freebsd.org
16
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Analyze high frequency, linear electrical networks
17
COMMENT=	Analyze high frequency, linear electrical networks
18
18
19
BUILD_DEPENDS=	tmake:${PORTSDIR}/devel/tmake
19
WRKSRC=		${WRKDIR}/${DISTNAME}/src
20
20
21
USE_REINPLACE=	yes
21
USE_QT_VER=	3
22
USE_QT_VER=	2
23
USE_GMAKE=	yes
22
USE_GMAKE=	yes
24
MAKE_ENV+=	TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
23
MAKE_ENV=	QTDIR="${QT_PREFIX}"
25
		QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \
26
		SUBLIBS=${PTHREAD_LIBS}
27
24
28
post-patch:
25
post-patch:
29
	@${REINPLACE_CMD} -e "s,/opt,,g" ${WRKSRC}/Makefile
26
	@${SED} -e 's:@PREFIX@:${PREFIX}:g' \
27
		${FILESDIR}/vipec.sh.in > ${WRKSRC}/../vipec.sh
30
28
31
pre-install:
29
do-configure:
32
	@${RM} -rf ${WRKSRC}/help/models/CVS
30
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
33
	@${RM} -rf ${WRKSRC}/help/CVS
31
		-spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ vipec.pro
34
	@${RM} -rf ${WRKSRC}/ckt/CVS
32
35
	@${RM} -rf ${WRKSRC}/messages/CVS
33
do-install:
34
	${INSTALL_SCRIPT} ${WRKSRC}/../vipec.sh ${PREFIX}/bin/vipec
35
	${INSTALL_PROGRAM} ${WRKSRC}/../vipec ${PREFIX}/bin/vipec.exec
36
	@${MKDIR} ${DATADIR}
37
	${INSTALL_DATA} ${WRKSRC}/../vipec.cfg ${DATADIR}
38
	@${MKDIR} ${DATADIR}/ckt
39
	${INSTALL_DATA} ${WRKSRC}/../ckt/*.* ${DATADIR}/ckt
40
	@${MKDIR} ${DATADIR}/help
41
	${INSTALL_DATA} ${WRKSRC}/../help/*.* ${DATADIR}/help
42
	@${MKDIR} ${DATADIR}/help/models
43
	${INSTALL_DATA} ${WRKSRC}/../help/models/*.* ${DATADIR}/help/models
44
	@${MKDIR} ${DATADIR}/messages
45
	${INSTALL_DATA} ${WRKSRC}/../messages/*.qm ${DATADIR}/messages
36
46
37
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)cad/vipec/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (ViPEC-3.1.2b3.tar.gz) = 5df1537b6bc33228f253cf526af267fc
1
MD5 (ViPEC-3.2.0.tar.gz) = caf74728ba2d1c00344794173a0460d2
(-)cad/vipec/files/patch-vipec.pro (+11 lines)
Line 0 Link Here
1
--- vipec.pro.orig	Thu Oct  2 04:58:40 2003
2
+++ vipec.pro	Mon Jan 26 00:17:52 2004
3
@@ -8,7 +8,7 @@
4
 CLEAN_FILES	= core Makefile *~ *moc* components/*~ dialogs/*~ images/*~ outputs/*~ widgets/*~
5
 MOC_DIR		= moc
6
 OBJECTS_DIR = obj
7
-CONFIG		= qt warn_on exceptions stl rtti
8
+CONFIG		= qt warn_on exceptions stl rtti thread release
9
 DEFINES		= QT_FATAL_ASSERT 
10
 RC_FILE		= vipec.rc
11
 HEADERS	= 	\
(-)cad/vipec/files/vipec.sh.in (+4 lines)
Line 0 Link Here
1
#!/bin/sh
2
VIPECHOME=@PREFIX@/share/vipec/
3
export VIPECHOME
4
exec "@PREFIX@/bin/vipec.exec" "$@"
(-)cad/vipec/pkg-plist (-67 / +62 lines)
Lines 1-67 Link Here
1
vipec/vipec
1
bin/vipec
2
vipec/CHANGES
2
bin/vipec.exec
3
vipec/COPYRIGHT
3
%%DATADIR%%/ckt/amplifier.ckt
4
vipec/INTERNATIONALIZATION
4
%%DATADIR%%/ckt/bandpass.ckt
5
vipec/README
5
%%DATADIR%%/ckt/bandpass.s2p
6
vipec/COPYING
6
%%DATADIR%%/ckt/bandpass2.ckt
7
vipec/LICENSE
7
%%DATADIR%%/ckt/combined.ckt
8
vipec/help/models/block.html
8
%%DATADIR%%/ckt/coupled_line_filter.ckt
9
vipec/help/models/block.png
9
%%DATADIR%%/ckt/coupler.ckt
10
vipec/help/models/capacitor.html
10
%%DATADIR%%/ckt/datafile.ckt
11
vipec/help/models/capacitor.png
11
%%DATADIR%%/ckt/filter.ckt
12
vipec/help/models/coupled.png
12
%%DATADIR%%/ckt/highpass.ckt
13
vipec/help/models/gyrator.html
13
%%DATADIR%%/ckt/nec70000.s2p
14
vipec/help/models/gyrator.png
14
%%DATADIR%%/ckt/stripline.ckt
15
vipec/help/models/idealcoupled.html
15
%%DATADIR%%/ckt/test.ckt
16
vipec/help/models/inductor.html
16
%%DATADIR%%/help/analysing.html
17
vipec/help/models/inductor.png
17
%%DATADIR%%/help/components.html
18
vipec/help/models/inductorq.html
18
%%DATADIR%%/help/disclaimer.html
19
vipec/help/models/inductorq.png
19
%%DATADIR%%/help/frequency.html
20
vipec/help/models/port.html
20
%%DATADIR%%/help/index.html
21
vipec/help/models/port.png
21
%%DATADIR%%/help/license.html
22
vipec/help/models/resistor.html
22
%%DATADIR%%/help/models/block.html
23
vipec/help/models/resistor.png
23
%%DATADIR%%/help/models/block.png
24
vipec/help/models/tlin2port.html
24
%%DATADIR%%/help/models/capacitor.html
25
vipec/help/models/tlin2port.png
25
%%DATADIR%%/help/models/capacitor.png
26
vipec/help/models/tlin4port.html
26
%%DATADIR%%/help/models/coupled.png
27
vipec/help/models/tlin4port.png
27
%%DATADIR%%/help/models/gyrator.html
28
vipec/help/models/tlinphysical.html
28
%%DATADIR%%/help/models/gyrator.png
29
vipec/help/models/tlinphysical.png
29
%%DATADIR%%/help/models/idealcoupled.html
30
vipec/help/models/vccs.html
30
%%DATADIR%%/help/models/inductor.html
31
vipec/help/models/vccs.png
31
%%DATADIR%%/help/models/inductor.png
32
vipec/help/analysing.html
32
%%DATADIR%%/help/models/inductorq.html
33
vipec/help/components.html
33
%%DATADIR%%/help/models/inductorq.png
34
vipec/help/disclaimer.html
34
%%DATADIR%%/help/models/port.html
35
vipec/help/frequency.html
35
%%DATADIR%%/help/models/port.png
36
vipec/help/index.html
36
%%DATADIR%%/help/models/resistor.html
37
vipec/help/license.html
37
%%DATADIR%%/help/models/resistor.png
38
vipec/help/navigation.html
38
%%DATADIR%%/help/models/tlin2port.html
39
vipec/help/outputs.html
39
%%DATADIR%%/help/models/tlin2port.png
40
vipec/help/placing.html
40
%%DATADIR%%/help/models/tlin4port.html
41
vipec/help/schematics.html
41
%%DATADIR%%/help/models/tlin4port.png
42
vipec/help/substrates.html
42
%%DATADIR%%/help/models/tlinphysical.html
43
vipec/help/units.html
43
%%DATADIR%%/help/models/tlinphysical.png
44
vipec/help/variables.html
44
%%DATADIR%%/help/models/vccs.html
45
vipec/help/what_is.html
45
%%DATADIR%%/help/models/vccs.png
46
vipec/ckt/amplifier.ckt
46
%%DATADIR%%/help/navigation.html
47
vipec/ckt/bandpass.ckt
47
%%DATADIR%%/help/outputs.html
48
vipec/ckt/bandpass.s2p
48
%%DATADIR%%/help/placing.html
49
vipec/ckt/bandpass2.ckt
49
%%DATADIR%%/help/schematics.html
50
vipec/ckt/coupled_line_filter.ckt
50
%%DATADIR%%/help/substrates.html
51
vipec/ckt/coupler.ckt
51
%%DATADIR%%/help/units.html
52
vipec/ckt/combined.ckt
52
%%DATADIR%%/help/variables.html
53
vipec/ckt/datafile.ckt
53
%%DATADIR%%/help/what_is.html
54
vipec/ckt/filter.ckt
54
%%DATADIR%%/messages/vipec_fr.qm
55
vipec/ckt/highpass.ckt
55
%%DATADIR%%/messages/vipec_ger.qm
56
vipec/ckt/nec70000.s2p
56
%%DATADIR%%/messages/vipec_pt.qm
57
vipec/ckt/stripline.ckt
57
%%DATADIR%%/vipec.cfg
58
vipec/ckt/test.ckt
58
@dirrm %%DATADIR%%/messages
59
vipec/messages/vipec_fr.qm
59
@dirrm %%DATADIR%%/help/models
60
vipec/messages/vipec_fr.ts
60
@dirrm %%DATADIR%%/help
61
vipec/messages/vipec_pt.qm
61
@dirrm %%DATADIR%%/ckt
62
vipec/messages/vipec_pt.ts
62
@dirrm %%DATADIR%%
63
@dirrm vipec/help/models
64
@dirrm vipec/help
65
@dirrm vipec/ckt
66
@dirrm vipec/messages
67
@dirrm vipec

Return to bug 61953